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 /PluginCommandInterfaceDbus/src/DBusCommandSender.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 'PluginCommandInterfaceDbus/src/DBusCommandSender.cpp')
-rw-r--r-- | PluginCommandInterfaceDbus/src/DBusCommandSender.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PluginCommandInterfaceDbus/src/DBusCommandSender.cpp b/PluginCommandInterfaceDbus/src/DBusCommandSender.cpp index d85dd34..460382f 100644 --- a/PluginCommandInterfaceDbus/src/DBusCommandSender.cpp +++ b/PluginCommandInterfaceDbus/src/DBusCommandSender.cpp @@ -78,6 +78,9 @@ am_Error_e DbusCommandSender::startupInterface(CommandReceiveInterface* commandr mCommandReceiverShadow.setCommandReceiver(mCommandReceiveInterface); mCommandReceiveInterface->getDBusConnectionWrapper(mDBusWrapper); assert(mDBusWrapper!=NULL); + DBusConnection * connection; + mDBusWrapper->getDBusConnection(connection); + mDBUSMessageHandler.setDBusConnection(connection); return (E_OK); } |