diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-08 15:42:31 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-08 15:42:31 +0100 |
commit | e924eb3ec4717647d61e9ec4d5cc74f81ea749b9 (patch) | |
tree | f3cc53e5fb98d21bc55cbd44a229d7ca21e6f99a /AudioManagerDaemon/src/main.cpp | |
parent | 9f9f6fc7d283c60166431c5175b6bbaa53a23c9c (diff) | |
download | audiomanager-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/src/main.cpp')
-rw-r--r-- | AudioManagerDaemon/src/main.cpp | 2 |
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); |