summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h')
-rw-r--r--AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h b/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h
index ea7cd92..951eed5 100644
--- a/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h
+++ b/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.h
@@ -12,7 +12,7 @@
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*
- * \author Christian Mueller, christian.ei.mueller@bmw.de BMW 2011,2012
+* \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
*
* For further information see http://www.genivi.org/.
*
@@ -30,7 +30,11 @@
#include <string>
#include <vector>
#include <set>
-#include "CAmDatabaseHandler.h"
+#ifdef WITH_DATABASE_STORAGE
+ #include "CAmDatabaseHandler.h"
+#else
+ #include "CAmMapHandler.h"
+#endif
#include "CAmControlReceiver.h"
#include "CAmControlSender.h"
#include "CAmDatabaseObserver.h"
@@ -43,6 +47,7 @@
#include "../MockIAmControlSend.h"
#include "../MockIAmCommandSend.h"
+
namespace am
{
@@ -54,8 +59,12 @@ public:
std::vector<std::string> plistRoutingPluginDirs;
std::vector<std::string> plistCommandPluginDirs;
CAmSocketHandler pSocketHandler;
- CAmDatabaseHandler pDatabaseHandler;
CAmControlSender pControlSender;
+#ifdef WITH_DATABASE_STORAGE
+ CAmDatabaseHandler pDatabaseHandler;
+#else
+ CAmMapHandler pDatabaseHandler;
+#endif
CAmRouter pRouter;
CAmRoutingSender pRoutingSender;
CAmCommandSender pCommandSender;