diff options
author | Aleksandar Donchev <aleksander.donchev@partner.bmw.de> | 2014-08-18 10:24:58 +0200 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-08-18 13:00:26 +0000 |
commit | 00caae1e41e8891d9a1bafa76028e8119f06fd8a (patch) | |
tree | e7a6e66c74c3f0b3579e87f8f738211d13129d71 /PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp | |
parent | a6eaa626d4c4bffe91d561cd71d0710f2e43e1c7 (diff) | |
download | audiomanager-00caae1e41e8891d9a1bafa76028e8119f06fd8a.tar.gz |
* Common-API sources re-generated for 2.1.6baserock/6.0
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp')
-rw-r--r-- | PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp b/PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp index e147744..21c3f43 100644 --- a/PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp +++ b/PluginCommandInterfaceCAPI/src-gen/org/genivi/am/CommandControlDBusProxy.cpp @@ -1,6 +1,6 @@ /* * This file was generated by the CommonAPI Generators. -* Used org.genivi.commonapi.core 2.1.5.201312121915. +* Used org.genivi.commonapi.core 2.1.6.v20140519. * Used org.franca.core 0.8.11.201401091023. * * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. @@ -31,11 +31,11 @@ std::shared_ptr<CommonAPI::DBus::DBusProxy> createCommandControlDBusProxy( return std::make_shared<CommandControlDBusProxy>(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection); } -__attribute__((constructor)) void registerCommandControlDBusProxy(void) { +INITIALIZER(registerCommandControlDBusProxy) { CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(CommandControl::getInterfaceId(), &createCommandControlDBusProxy); } - + CommandControlDBusProxy::CommandControlDBusProxy( const std::shared_ptr<CommonAPI::DBus::DBusFactory>& factory, const std::string& commonApiAddress, @@ -216,26 +216,26 @@ std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setVolumeAsync(const /** * This function is used to increment or decrement the current volume for a * sink. -(at)return E_OK on success, E_UNKNOWN on error and E_OUT_OF_RANGE if - * the value is not in the given volume range. +(at)return E_OK on success, E_UNKNOWN on error and E_OUT_OF_RANGE if the + * value is not in the given volume range. */ -void CommandControlDBusProxy::volumeStep(const am_sinkID_t& sinkID, const int16_t& volumeStep_, CommonAPI::CallStatus& callStatus, am_Error_e& error) { +void CommandControlDBusProxy::volumeStep(const am_sinkID_t& sinkID, const int16_t& volStep, CommonAPI::CallStatus& callStatus, am_Error_e& error) { CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, int16_t>, CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply( *this, "volumeStep", "qn", - sinkID, volumeStep_, + sinkID, volStep, callStatus , error); } -std::future<CommonAPI::CallStatus> CommandControlDBusProxy::volumeStepAsync(const am_sinkID_t& sinkID, const int16_t& volumeStep_, VolumeStepAsyncCallback callback) { +std::future<CommonAPI::CallStatus> CommandControlDBusProxy::volumeStepAsync(const am_sinkID_t& sinkID, const int16_t& volStep, VolumeStepAsyncCallback callback) { return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, int16_t>, CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync( *this, "volumeStep", "qn", - sinkID, volumeStep_, + sinkID, volStep, std::move(callback)); } /** @@ -384,8 +384,8 @@ std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSinksAsyn } /** * returns the actual list of Sources -(at)return E_OK on success, - * E_DATABASE_ERROR on error +(at)return E_OK on success, E_DATABASE_ERROR + * on error */ void CommandControlDBusProxy::getListMainSources(CommonAPI::CallStatus& callStatus, am_SourceType_L& listMainSources, am_Error_e& error) { CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>, @@ -407,8 +407,8 @@ std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSourcesAs /** * This is used to retrieve all source sound properties related to a source. * Returns a vector of the sound properties and values as pair -(at)return E_OK - * on success, E_DATABASE_ERROR on error +(at)return E_OK on + * success, E_DATABASE_ERROR on error */ void CommandControlDBusProxy::getListMainSinkSoundProperties(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_MainSoundProperty_L& listSoundProperties, am_Error_e& error) { CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>, @@ -644,7 +644,7 @@ std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setMainSourceNotific void CommandControlDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const { - ownVersionMajor = 1; + ownVersionMajor = 2; ownVersionMinor = 0; } |