diff options
Diffstat (limited to 'AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerDBusProxy.cpp')
-rw-r--r-- | AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerDBusProxy.cpp | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerDBusProxy.cpp b/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerDBusProxy.cpp index 6971e07..2ff8d68 100644 --- a/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerDBusProxy.cpp +++ b/AudioManagerDaemon/src-gen/org/genivi/NodeStateManager/ConsumerDBusProxy.cpp @@ -1,11 +1,24 @@ /* * 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. -* If a copy of the MPL was not distributed with this file, You can obtain one at -* http://mozilla.org/MPL/2.0/. +* Copyright (C) 2012, BMW AG +* +* This file is part of GENIVI Project AudioManager. +* +* Contributions are licensed to the GENIVI Alliance under one or more +* Contribution License Agreements. +* +* \copyright +* This Source Code Form is subject to the terms of the +* Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with +* this file, You can obtain one at http://mozilla.org/MPL/2.0/. +* +* +* \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013 +* +* For further information see http://www.genivi.org/. */ /** * @author Christian Linke @@ -26,7 +39,7 @@ std::shared_ptr<CommonAPI::DBus::DBusProxy> createConsumerDBusProxy( return std::make_shared<ConsumerDBusProxy>(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection); } -__attribute__((constructor)) void registerConsumerDBusProxy(void) { +INITIALIZER(registerConsumerDBusProxy) { CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(Consumer::getInterfaceId(), &createConsumerDBusProxy); } @@ -39,10 +52,10 @@ ConsumerDBusProxy::ConsumerDBusProxy( const std::string& objectPath, const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection): CommonAPI::DBus::DBusProxy(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection) -,bootMode_(*this, "i", "getBootModeAttribute"), -restartReason_(*this, "i", "getRestartReasonAttribute"), -shutdownReason_(*this, "i", "getShutdownReasonAttribute"), -wakeUpReason_(*this, "i", "getWakeUpReasonAttribute") +,bootMode_(*this, interfaceName.c_str(), "BootMode"), +restartReason_(*this, interfaceName.c_str(), "RestartReason"), +shutdownReason_(*this, interfaceName.c_str(), "ShutdownReason"), +wakeUpReason_(*this, interfaceName.c_str(), "WakeUpReason") , nodeApplicationMode_(*this, "NodeApplicationMode", "i"), sessionStateChanged_(*this, "SessionStateChanged", "sii"), nodeState_(*this, "NodeState", "i") |