summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-02-08 15:42:31 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-02-08 15:42:31 +0100
commite924eb3ec4717647d61e9ec4d5cc74f81ea749b9 (patch)
treef3cc53e5fb98d21bc55cbd44a229d7ca21e6f99a /AudioManagerDaemon
parent9f9f6fc7d283c60166431c5175b6bbaa53a23c9c (diff)
downloadaudiomanager-e924eb3ec4717647d61e9ec4d5cc74f81ea749b9.tar.gz
* changed main to register observer (thanks TGO)
* changed command DBUSplugin to register Connection at 2nd DBUSMessageHandler Instance (thanks TGO) * Expanded dummyController functionality
Diffstat (limited to 'AudioManagerDaemon')
-rw-r--r--AudioManagerDaemon/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/AudioManagerDaemon/src/main.cpp b/AudioManagerDaemon/src/main.cpp
index d483925..73e9baf 100644
--- a/AudioManagerDaemon/src/main.cpp
+++ b/AudioManagerDaemon/src/main.cpp
@@ -300,6 +300,8 @@ int main(int argc, char *argv[])
DatabaseObserver iObserver(&iCommandSender, &iRoutingSender);
#endif
+ iDatabaseHandler.registerObserver(&iObserver);
+
//startup all the Plugins and Interfaces
iControlSender.startupController(&iControlReceiver);
iCommandSender.startupInterface(&iCommandReceiver);