summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-09-03 09:41:26 +0200
committerchristian mueller <christian.ei.mueller@bmw.de>2012-09-12 09:19:31 +0200
commitb89b43522f69d1f6c5f482662c3e9e9fd19e91b2 (patch)
tree5f55669f572290a6d11fc03bab8b58875297d0af
parentee9e48d95b65cb226152b0bab531ac9b7f93adbf (diff)
downloadaudiomanager-b89b43522f69d1f6c5f482662c3e9e9fd19e91b2.tar.gz
* [GAM-90] fixed signals send on wrong interface
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
-rw-r--r--PluginCommandInterfaceDbus/src/CAmDbusMessageHandler.cpp2
-rw-r--r--PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/PluginCommandInterfaceDbus/src/CAmDbusMessageHandler.cpp b/PluginCommandInterfaceDbus/src/CAmDbusMessageHandler.cpp
index 2c360e3..f19d2fa 100644
--- a/PluginCommandInterfaceDbus/src/CAmDbusMessageHandler.cpp
+++ b/PluginCommandInterfaceDbus/src/CAmDbusMessageHandler.cpp
@@ -76,7 +76,7 @@ void CAmDbusMessageHandler::initSignal(std::string path, std::string signalName)
{
assert(!path.empty());
assert(!signalName.empty());
- std::string completePath = std::string(DBUS_SERVICE_OBJECT_PATH) + "/" + path;
+ std::string completePath = std::string(DBUS_SERVICE_OBJECT_PATH) + "/" + path+ MY_NODE;
mpDBusMessage = dbus_message_new_signal(completePath.c_str(), DBUS_SERVICE_PREFIX, signalName.c_str());
if (mpDBusMessage == NULL)
diff --git a/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp b/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp
index b265a03..8c61c12 100644
--- a/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp
+++ b/PluginRoutingInterfaceDbus/src/CAmDbusMessageHandler.cpp
@@ -78,7 +78,7 @@ void CAmRoutingDbusMessageHandler::initSignal(std::string path, std::string sign
{
assert(!path.empty());
assert(!signalName.empty());
- std::string completePath = std::string(DBUS_SERVICE_OBJECT_PATH) + "/" + path;
+ std::string completePath = std::string(DBUS_SERVICE_OBJECT_PATH) + "/" + path + ROUTING_NODE;
mpDBusMessage = dbus_message_new_signal(completePath.c_str(), DBUS_SERVICE_PREFIX, signalName.c_str());
if (mpDBusMessage == NULL)