From d85e69bbf6d8ec6e087c7af579686923c76079cd Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Fri, 9 Dec 2011 18:43:28 +0100 Subject: Some changes, renaming... --- PluginControlInterface/ControlSender.cpp | 82 ++++++++++++++++---------------- PluginControlInterface/ControlSender.h | 6 +-- 2 files changed, 44 insertions(+), 44 deletions(-) (limited to 'PluginControlInterface') diff --git a/PluginControlInterface/ControlSender.cpp b/PluginControlInterface/ControlSender.cpp index 90cbf91..f47c84c 100644 --- a/PluginControlInterface/ControlSender.cpp +++ b/PluginControlInterface/ControlSender.cpp @@ -8,19 +8,19 @@ #include "ControlSender.h" extern "C" ControlSendInterface* PluginControlInterfaceFactory() { - return new ControlSender(); + return (new ControlSenderPlugin()); } extern "C" void destroyControlPluginInterface(ControlSendInterface* controlSendInterface) { delete controlSendInterface; } -ControlSender::ControlSender() { +ControlSenderPlugin::ControlSenderPlugin() { // TODO Auto-generated constructor stub } -ControlSender::~ControlSender() { +ControlSenderPlugin::~ControlSenderPlugin() { // TODO Auto-generated destructor stub } @@ -30,229 +30,229 @@ am_Error_e ControlSendInterface::startupController(ControlReceiveInterface* cont -am_Error_e ControlSender::stopController() +am_Error_e ControlSenderPlugin::stopController() { } -void ControlSender::hookAllPluginsLoaded() +void ControlSenderPlugin::hookAllPluginsLoaded() { } -am_Error_e ControlSender::hookUserConnectionRequest(const am_sourceID_t sourceID, const am_sinkID_t sinkID, am_mainConnectionID_t & mainConnectionID) +am_Error_e ControlSenderPlugin::hookUserConnectionRequest(const am_sourceID_t sourceID, const am_sinkID_t sinkID, am_mainConnectionID_t & mainConnectionID) { } -am_Error_e ControlSender::hookUserDisconnectionRequest(const am_mainConnectionID_t connectionID) +am_Error_e ControlSenderPlugin::hookUserDisconnectionRequest(const am_mainConnectionID_t connectionID) { } -am_Error_e ControlSender::hookUserSetMainSinkSoundProperty(const am_sinkID_t sinkID, const am_MainSoundProperty_s & soundProperty) +am_Error_e ControlSenderPlugin::hookUserSetMainSinkSoundProperty(const am_sinkID_t sinkID, const am_MainSoundProperty_s & soundProperty) { } -am_Error_e ControlSender::hookUserSetMainSourceSoundProperty(const am_sourceID_t sourceID, const am_MainSoundProperty_s & soundProperty) +am_Error_e ControlSenderPlugin::hookUserSetMainSourceSoundProperty(const am_sourceID_t sourceID, const am_MainSoundProperty_s & soundProperty) { } -am_Error_e ControlSender::hookUserSetSystemProperty(const am_SystemProperty_s & property) +am_Error_e ControlSenderPlugin::hookUserSetSystemProperty(const am_SystemProperty_s & property) { } -am_Error_e ControlSender::hookUserVolumeChange(const am_sinkID_t SinkID, const am_mainVolume_t newVolume) +am_Error_e ControlSenderPlugin::hookUserVolumeChange(const am_sinkID_t SinkID, const am_mainVolume_t newVolume) { } -am_Error_e ControlSender::hookUserVolumeStep(const am_sinkID_t SinkID, const int16_t increment) +am_Error_e ControlSenderPlugin::hookUserVolumeStep(const am_sinkID_t SinkID, const int16_t increment) { } -am_Error_e ControlSender::hookUserSetSinkMuteState(const am_sinkID_t sinkID, const am_MuteState_e muteState) +am_Error_e ControlSenderPlugin::hookUserSetSinkMuteState(const am_sinkID_t sinkID, const am_MuteState_e muteState) { } -am_Error_e ControlSender::hookSystemRegisterDomain(const am_Domain_s & domainData, am_domainID_t & domainID) +am_Error_e ControlSenderPlugin::hookSystemRegisterDomain(const am_Domain_s & domainData, am_domainID_t & domainID) { } -am_Error_e ControlSender::hookSystemDeregisterDomain(const am_domainID_t domainID) +am_Error_e ControlSenderPlugin::hookSystemDeregisterDomain(const am_domainID_t domainID) { } -void ControlSender::hookSystemDomainRegistrationComplete(const am_domainID_t domainID) +void ControlSenderPlugin::hookSystemDomainRegistrationComplete(const am_domainID_t domainID) { } -am_Error_e ControlSender::hookSystemRegisterSink(const am_Sink_s & sinkData, am_sinkID_t & sinkID) +am_Error_e ControlSenderPlugin::hookSystemRegisterSink(const am_Sink_s & sinkData, am_sinkID_t & sinkID) { } -am_Error_e ControlSender::hookSystemDeregisterSink(const am_sinkID_t sinkID) +am_Error_e ControlSenderPlugin::hookSystemDeregisterSink(const am_sinkID_t sinkID) { } -am_Error_e ControlSender::hookSystemRegisterSource(const am_Source_s & sourceData, am_sourceID_t & sourceID) +am_Error_e ControlSenderPlugin::hookSystemRegisterSource(const am_Source_s & sourceData, am_sourceID_t & sourceID) { } -am_Error_e ControlSender::hookSystemDeregisterSource(const am_sourceID_t sourceID) +am_Error_e ControlSenderPlugin::hookSystemDeregisterSource(const am_sourceID_t sourceID) { } -am_Error_e ControlSender::hookSystemRegisterGateway(const am_Gateway_s & gatewayData, am_gatewayID_t & gatewayID) +am_Error_e ControlSenderPlugin::hookSystemRegisterGateway(const am_Gateway_s & gatewayData, am_gatewayID_t & gatewayID) { } -am_Error_e ControlSender::hookSystemDeregisterGateway(const am_gatewayID_t gatewayID) +am_Error_e ControlSenderPlugin::hookSystemDeregisterGateway(const am_gatewayID_t gatewayID) { } -am_Error_e ControlSender::hookSystemRegisterCrossfader(const am_Crossfader_s & crossfaderData, am_crossfaderID_t & crossfaderID) +am_Error_e ControlSenderPlugin::hookSystemRegisterCrossfader(const am_Crossfader_s & crossfaderData, am_crossfaderID_t & crossfaderID) { } -am_Error_e ControlSender::hookSystemDeregisterCrossfader(const am_crossfaderID_t crossfaderID) +am_Error_e ControlSenderPlugin::hookSystemDeregisterCrossfader(const am_crossfaderID_t crossfaderID) { } -void ControlSender::hookSystemSinkVolumeTick(const am_Handle_s handle, const am_sinkID_t sinkID, const am_volume_t volume) +void ControlSenderPlugin::hookSystemSinkVolumeTick(const am_Handle_s handle, const am_sinkID_t sinkID, const am_volume_t volume) { } -void ControlSender::hookSystemSourceVolumeTick(const am_Handle_s handle, const am_sourceID_t sourceID, const am_volume_t volume) +void ControlSenderPlugin::hookSystemSourceVolumeTick(const am_Handle_s handle, const am_sourceID_t sourceID, const am_volume_t volume) { } -void ControlSender::hookSystemInterruptStateChange(const am_sourceID_t sourceID, const am_InterruptState_e interruptState) +void ControlSenderPlugin::hookSystemInterruptStateChange(const am_sourceID_t sourceID, const am_InterruptState_e interruptState) { } -void ControlSender::hookSystemSinkAvailablityStateChange(const am_sinkID_t sinkID, const am_Availability_s & availability) +void ControlSenderPlugin::hookSystemSinkAvailablityStateChange(const am_sinkID_t sinkID, const am_Availability_s & availability) { } -void ControlSender::hookSystemSourceAvailablityStateChange(const am_sourceID_t sourceID, const am_Availability_s & availability) +void ControlSenderPlugin::hookSystemSourceAvailablityStateChange(const am_sourceID_t sourceID, const am_Availability_s & availability) { } -void ControlSender::hookSystemDomainStateChange(const am_domainID_t domainID, const am_DomainState_e state) +void ControlSenderPlugin::hookSystemDomainStateChange(const am_domainID_t domainID, const am_DomainState_e state) { } -void ControlSender::hookSystemReceiveEarlyData(const std::vector & data) +void ControlSenderPlugin::hookSystemReceiveEarlyData(const std::vector & data) { } -void ControlSender::hookSystemSpeedChange(const am_speed_t speed) +void ControlSenderPlugin::hookSystemSpeedChange(const am_speed_t speed) { } -void ControlSender::hookSystemTimingInformationChanged(const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time) +void ControlSenderPlugin::hookSystemTimingInformationChanged(const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time) { } -void ControlSender::cbAckConnect(const am_Handle_s handle, const am_Error_e errorID) +void ControlSenderPlugin::cbAckConnect(const am_Handle_s handle, const am_Error_e errorID) { } -void ControlSender::cbAckDisconnect(const am_Handle_s handle, const am_Error_e errorID) +void ControlSenderPlugin::cbAckDisconnect(const am_Handle_s handle, const am_Error_e errorID) { } -void ControlSender::cbAckCrossFade(const am_Handle_s handle, const am_HotSink_e hostsink, const am_Error_e error) +void ControlSenderPlugin::cbAckCrossFade(const am_Handle_s handle, const am_HotSink_e hostsink, const am_Error_e error) { } -void ControlSender::cbAckSetSinkVolumeChange(const am_Handle_s handle, const am_volume_t volume, const am_Error_e error) +void ControlSenderPlugin::cbAckSetSinkVolumeChange(const am_Handle_s handle, const am_volume_t volume, const am_Error_e error) { } -void ControlSender::cbAckSetSourceVolumeChange(const am_Handle_s handle, const am_volume_t voulme, const am_Error_e error) +void ControlSenderPlugin::cbAckSetSourceVolumeChange(const am_Handle_s handle, const am_volume_t voulme, const am_Error_e error) { } -void ControlSender::cbAckSetSourceState(const am_Handle_s handle, const am_Error_e error) +void ControlSenderPlugin::cbAckSetSourceState(const am_Handle_s handle, const am_Error_e error) { } -void ControlSender::cbAckSetSourceSoundProperty(const am_Handle_s handle, const am_Error_e error) +void ControlSenderPlugin::cbAckSetSourceSoundProperty(const am_Handle_s handle, const am_Error_e error) { } -void ControlSender::cbAckSetSinkSoundProperty(const am_Handle_s handle, const am_Error_e error) +void ControlSenderPlugin::cbAckSetSinkSoundProperty(const am_Handle_s handle, const am_Error_e error) { } diff --git a/PluginControlInterface/ControlSender.h b/PluginControlInterface/ControlSender.h index caeebd2..4fae804 100644 --- a/PluginControlInterface/ControlSender.h +++ b/PluginControlInterface/ControlSender.h @@ -12,10 +12,10 @@ using namespace am; -class ControlSender: public ControlSendInterface { +class ControlSenderPlugin: public ControlSendInterface { public: - ControlSender(); - virtual ~ControlSender(); + ControlSenderPlugin(); + virtual ~ControlSenderPlugin(); am_Error_e startupController(ControlReceiveInterface* controlreceiveinterface) ; am_Error_e stopController() ; void hookAllPluginsLoaded() ; -- cgit v1.2.1