* new naming convention for dbus interfaces.
[profile/ivi/genivi/genivi-audio-manager.git] / PluginCommandInterfaceDbus / include / CAmCommandSenderDbus.h
index ad21109..4fcce88 100644 (file)
@@ -34,7 +34,7 @@
 namespace am
 {
 
-const char MY_NODE[] = "CommandInterface";
+const char MY_NODE[] = "commandinterface";
 
 /**
  * Dbus Implementation of CommandSendInterface
@@ -47,7 +47,7 @@ public:
     am_Error_e startupInterface(IAmCommandReceive* commandreceiveinterface);
     void setCommandReady(const uint16_t handle);
     void setCommandRundown(const uint16_t handle);
-    void cbNewMainConnection(const am_MainConnectionType_s mainConnection);
+    void cbNewMainConnection(const am_MainConnectionType_s& mainConnection);
     void cbRemovedMainConnection(const am_mainConnectionID_t mainConnection);
     void cbNewSink(const am_SinkType_s& sink);
     void cbRemovedSink(const am_sinkID_t sinkID);
@@ -65,6 +65,12 @@ public:
     void cbSystemPropertyChanged(const am_SystemProperty_s& systemProperty);
     void cbTimingInformationChanged(const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time);
     void getInterfaceVersion(std::string& version) const;
+    void cbSinkUpdated(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector<am_MainSoundProperty_s>& listMainSoundProperties);
+    void cbSourceUpdated(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector<am_MainSoundProperty_s>& listMainSoundProperties);
+    void cbSinkNotification(const am_sinkID_t sinkID, const am_NotificationPayload_s& notification) ;
+    void cbSourceNotification(const am_sourceID_t sourceID, const am_NotificationPayload_s& notification) ;
+    void cbMainSinkNotificationConfigurationChanged(const am_sinkID_t sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration) ;
+    void cbMainSourceNotificationConfigurationChanged(const am_sourceID_t sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration) ;
 
 #ifdef UNIT_TEST
     friend class CAmCommandSenderDbusBackdoor;