summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/main.cpp
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-02-06 15:57:11 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-02-06 16:18:36 +0100
commitba9e8ff6cfc7de6fadce914b356b6e4b398d5ab3 (patch)
tree9cdf855f63dd103a8ea6811d03251bd07a6a40de /AudioManagerDaemon/src/main.cpp
parent74cf9b985164be8c28a3cd1b11076900792594f8 (diff)
downloadaudiomanager-ba9e8ff6cfc7de6fadce914b356b6e4b398d5ab3.tar.gz
* worked in feedback from Thomas Goering towards integration testsver-0.0.9
* corrected startup sequence and modified the testplugin so that the startup sequences match
Diffstat (limited to 'AudioManagerDaemon/src/main.cpp')
-rw-r--r--AudioManagerDaemon/src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/AudioManagerDaemon/src/main.cpp b/AudioManagerDaemon/src/main.cpp
index c4f4d0d..d483925 100644
--- a/AudioManagerDaemon/src/main.cpp
+++ b/AudioManagerDaemon/src/main.cpp
@@ -300,13 +300,13 @@ int main(int argc, char *argv[])
DatabaseObserver iObserver(&iCommandSender, &iRoutingSender);
#endif
- //since the plugins have been loaded by the *Senders before, we can tell the Controller this:
- iControlSender.hookAllPluginsLoaded();
-
- //the controller should startup the interfaces - this is just for testing
+ //startup all the Plugins and Interfaces
+ iControlSender.startupController(&iControlReceiver);
iCommandSender.startupInterface(&iCommandReceiver);
iRoutingSender.startupRoutingInterface(&iRoutingReceiver);
- iRoutingSender.routingInterfacesReady();
+
+ //when the routingInterface is done, all plugins are loaded:
+ iControlSender.hookAllPluginsLoaded();
#ifdef WITH_SOCKETHANDLER_LOOP
iSocketHandler.start_listenting();