summaryrefslogtreecommitdiff
path: root/AudioManagerCore/test/MockIAmControlSend.h
diff options
context:
space:
mode:
authorMartin Koch <mkoch@de.adit-jv.com>2020-01-17 09:07:47 +0100
committerMartin Koch <mkoch@de.adit-jv.com>2020-01-17 09:14:51 +0100
commitc1e284360ec02b06ccb0a97a00fed05ef0bb2c60 (patch)
tree752b600be063bd3938e7e8fc7b304ac46f53ef1d /AudioManagerCore/test/MockIAmControlSend.h
parenta2af83777be4860d554bceaf28c87218729cf309 (diff)
downloadaudiomanager-c1e284360ec02b06ccb0a97a00fed05ef0bb2c60.tar.gz
AM: add plural form of setSystemProperties for global configuration attributes to command and control interface
- implement plural form of requests and acknowledgments in core - provide empty default implementations in interfaces to ensure backward compatibility with older plugins - accommodate extension in module tests Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated configuration attributes. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
Diffstat (limited to 'AudioManagerCore/test/MockIAmControlSend.h')
-rw-r--r--AudioManagerCore/test/MockIAmControlSend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AudioManagerCore/test/MockIAmControlSend.h b/AudioManagerCore/test/MockIAmControlSend.h
index 1f0b7df..9115d00 100644
--- a/AudioManagerCore/test/MockIAmControlSend.h
+++ b/AudioManagerCore/test/MockIAmControlSend.h
@@ -53,6 +53,8 @@ class MockIAmControlSend : public IAmControlSend {
am_Error_e(const am_sourceID_t sourceID, const std::vector<am_MainSoundProperty_s > &listSoundProperty));
MOCK_METHOD1(hookUserSetSystemProperty,
am_Error_e(const am_SystemProperty_s& property));
+ MOCK_METHOD1(hookUserSetSystemProperties,
+ am_Error_e(const std::vector<am_SystemProperty_s>& listSystemProperties));
MOCK_METHOD2(hookUserVolumeChange,
am_Error_e(const am_sinkID_t SinkID, const am_mainVolume_t newVolume));
MOCK_METHOD2(hookUserVolumeStep,