summaryrefslogtreecommitdiff
path: root/AudioManagerCore/test/IAmRoutingBackdoor.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerCore/test/IAmRoutingBackdoor.h')
-rw-r--r--AudioManagerCore/test/IAmRoutingBackdoor.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/AudioManagerCore/test/IAmRoutingBackdoor.h b/AudioManagerCore/test/IAmRoutingBackdoor.h
new file mode 100644
index 0000000..cbdb070
--- /dev/null
+++ b/AudioManagerCore/test/IAmRoutingBackdoor.h
@@ -0,0 +1,46 @@
+/**
+ * SPDX license identifier: MPL-2.0
+ *
+ * Copyright (C) 2012, BMW AG
+ *
+ * This file is part of GENIVI Project AudioManager.
+ *
+ * Contributions are licensed to the GENIVI Alliance under one or more
+ * Contribution License Agreements.
+ *
+ * \copyright
+ * This Source Code Form is subject to the terms of the
+ * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
+ * this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2011,2012
+ *
+ * For further information see http://www.genivi.org/.
+ *
+ */
+
+#ifndef ROUTINGINTERFACEBACKDOOR_H_
+#define ROUTINGINTERFACEBACKDOOR_H_
+
+#include "CAmRoutingSender.h"
+
+namespace am
+{
+
+class CAmRoutingSender;
+
+class IAmRoutingBackdoor
+{
+public:
+ IAmRoutingBackdoor();
+ virtual ~IAmRoutingBackdoor();
+ bool unloadPlugins(CAmRoutingSender *RoutingSender);
+ bool injectInterface(CAmRoutingSender *RoutingSender, IAmRoutingSend *newInterface, const std::string& busname);
+};
+
+}
+
+//definitions are in CAmCommonFunctions.cpp!
+
+#endif /* ROUTINGINTERFACEBACKDOOR_H_ */