summaryrefslogtreecommitdiff
path: root/PluginCommandInterfaceDbus/include/DBusCommandSender.h
diff options
context:
space:
mode:
Diffstat (limited to 'PluginCommandInterfaceDbus/include/DBusCommandSender.h')
-rw-r--r--PluginCommandInterfaceDbus/include/DBusCommandSender.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/PluginCommandInterfaceDbus/include/DBusCommandSender.h b/PluginCommandInterfaceDbus/include/DBusCommandSender.h
index dbf6b04..e64e6f6 100644
--- a/PluginCommandInterfaceDbus/include/DBusCommandSender.h
+++ b/PluginCommandInterfaceDbus/include/DBusCommandSender.h
@@ -50,25 +50,27 @@ class DbusCommandSender: public CommandSendInterface
public:
DbusCommandSender();
virtual ~DbusCommandSender();
- am_Error_e startupInterface(CommandReceiveInterface* commandreceiveinterface);
- am_Error_e stopInterface();
- am_Error_e cbCommunicationReady();
- am_Error_e cbCommunicationRundown();
- void cbNumberOfMainConnectionsChanged();
- void cbNumberOfSinksChanged();
- void cbNumberOfSourcesChanged();
- void cbNumberOfSinkClassesChanged();
- void cbNumberOfSourceClassesChanged();
- void cbMainConnectionStateChanged(const am_mainConnectionID_t connectionID, const am_ConnectionState_e connectionState);
- void cbMainSinkSoundPropertyChanged(const am_sinkID_t sinkID, const am_MainSoundProperty_s SoundProperty);
- void cbMainSourceSoundPropertyChanged(const am_sourceID_t sourceID, const am_MainSoundProperty_s& SoundProperty);
- void cbSinkAvailabilityChanged(const am_sinkID_t sinkID, const am_Availability_s& availability);
- void cbSourceAvailabilityChanged(const am_sourceID_t sourceID, const am_Availability_s& availability);
- void cbVolumeChanged(const am_sinkID_t sinkID, const am_mainVolume_t volume);
- void cbSinkMuteStateChanged(const am_sinkID_t sinkID, const am_MuteState_e muteState);
- void cbSystemPropertyChanged(const am_SystemProperty_s& SystemProperty);
- void cbTimingInformationChanged(const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time);
- uint16_t getInterfaceVersion() const;
+ am_Error_e startupInterface(CommandReceiveInterface* commandreceiveinterface) ;
+ void setCommandReady(const uint16_t handle) ;
+ void setCommandRundown(const uint16_t handle) ;
+ 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) ;
+ void cbNewSource(const am_SourceType_s& source) ;
+ void cbRemovedSource(const am_sourceID_t source) ;
+ void cbNumberOfSinkClassesChanged() ;
+ void cbNumberOfSourceClassesChanged() ;
+ void cbMainConnectionStateChanged(const am_mainConnectionID_t connectionID, const am_ConnectionState_e connectionState) ;
+ void cbMainSinkSoundPropertyChanged(const am_sinkID_t sinkID, const am_MainSoundProperty_s& soundProperty) ;
+ void cbMainSourceSoundPropertyChanged(const am_sourceID_t sourceID, const am_MainSoundProperty_s& soundProperty) ;
+ void cbSinkAvailabilityChanged(const am_sinkID_t sinkID, const am_Availability_s& availability) ;
+ void cbSourceAvailabilityChanged(const am_sourceID_t sourceID, const am_Availability_s& availability) ;
+ void cbVolumeChanged(const am_sinkID_t sinkID, const am_mainVolume_t volume) ;
+ void cbSinkMuteStateChanged(const am_sinkID_t sinkID, const am_MuteState_e muteState) ;
+ 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 ;
#ifdef UNIT_TEST
friend class DbusCommandInterfaceBackdoor;