summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaduki <daduki@gmail.com>2020-05-13 16:40:48 +0900
committerdaduki <daduki@gmail.com>2020-05-13 16:40:48 +0900
commitd0c19e34ee24bbf87f01abda48c08c8a4bdf5379 (patch)
tree161bc49beb4cb0cd16c8824a2c2f21798159e315
parent2def13f3f4972188ae657bc0112a67af0de7b082 (diff)
downloadaudiomanager-d0c19e34ee24bbf87f01abda48c08c8a4bdf5379.tar.gz
legacy redirection for typo correction
legacy redirection for typo correction for the chage : from : changDomainStateDB to : changeDomainStateDB
-rw-r--r--AudioManagerCore/include/CAmControlReceiver.h5
-rw-r--r--include/IAmControl.h5
2 files changed, 10 insertions, 0 deletions
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<am_MainSoundProperty_s> &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