From d0c19e34ee24bbf87f01abda48c08c8a4bdf5379 Mon Sep 17 00:00:00 2001 From: daduki Date: Wed, 13 May 2020 16:40:48 +0900 Subject: legacy redirection for typo correction legacy redirection for typo correction for the chage : from : changDomainStateDB to : changeDomainStateDB --- AudioManagerCore/include/CAmControlReceiver.h | 5 +++++ include/IAmControl.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/AudioManagerCore/include/CAmControlReceiver.h b/AudioManagerCore/include/CAmControlReceiver.h index 46407d6..bf11e67 100644 --- a/AudioManagerCore/include/CAmControlReceiver.h +++ b/AudioManagerCore/include/CAmControlReceiver.h @@ -74,6 +74,11 @@ public: am_Error_e changeSinkMainVolumeDB(const am_mainVolume_t mainVolume, const am_sinkID_t sinkID); am_Error_e changeSinkAvailabilityDB(const am_Availability_s &availability, const am_sinkID_t sinkID); am_Error_e changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID); + inline am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) + { + // legacy redirection due to former typo in function name + return changeDomainStateDB(domainState, domainID); + } am_Error_e changeSinkMuteStateDB(const am_MuteState_e muteState, const am_sinkID_t sinkID); am_Error_e changeMainSinkSoundPropertyDB(const am_MainSoundProperty_s &soundProperty, const am_sinkID_t sinkID); am_Error_e changeMainSinkSoundPropertiesDB(const std::vector &listSoundProperties, const am_sinkID_t sinkID); diff --git a/include/IAmControl.h b/include/IAmControl.h index bb0b235..82dad97 100644 --- a/include/IAmControl.h +++ b/include/IAmControl.h @@ -289,6 +289,11 @@ public: * was not found */ virtual am_Error_e changeDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) =0; + inline am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) + { + // legacy redirection due to former typo in function name + return changeDomainStateDB(domainState, domainID); + } /** * changes the mute state of a sink * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was -- cgit v1.2.1