bd4a5ca0a0855e89b86a191264c9a76a77ee29ac
[profile/ivi/genivi/genivi-audio-manager.git] / AudioManagerDaemon / test / RoutingInterfaceBackdoor.h
1 /*
2  * RoutingInterfaceBackdoor.h
3  *
4  *  Created on: Dec 10, 2011
5  *      Author: christian
6  */
7
8 #ifndef ROUTINGINTERFACEBACKDOOR_H_
9 #define ROUTINGINTERFACEBACKDOOR_H_
10
11 #include "RoutingSender.h"
12
13 using namespace am;
14
15 class RoutingSender;
16
17 class RoutingInterfaceBackdoor {
18 public:
19         RoutingInterfaceBackdoor();
20         virtual ~RoutingInterfaceBackdoor();
21         bool unloadPlugins(RoutingSender *RoutingSender);
22         bool injectInterface(RoutingSender *RoutingSender, RoutingSendInterface *newInterface, const std::string& busname);
23 };
24
25 //definitions are in CommonFunctions.cpp!
26
27 #endif /* ROUTINGINTERFACEBACKDOOR_H_ */