* Bug #100 - removed projecttypes.h which causes compiling conflicts
[profile/ivi/genivi/genivi-audio-manager.git] / AudioManagerDaemon / src-gen / org / genivi / NodeStateManager / LifeCycleConsumerStubDefault.h
index d59a8e2..fe35b9f 100644 (file)
@@ -1,24 +1,11 @@
 /*
-* This file was generated by the CommonAPI Generators. 
-* Used org.genivi.commonapi.core 2.1.2.201309301424.
-* Used org.franca.core 0.8.9.201308271211.
+* This file was generated by the CommonAPI Generators.
+* Used org.genivi.commonapi.core 2.1.5.201312121915.
+* Used org.franca.core 0.8.11.201401091023.
 *
-* 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/.
+* 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 Christian Linke
@@ -26,6 +13,7 @@
 #ifndef ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_STUB_DEFAULT_H_
 #define ORG_GENIVI_NODESTATEMANAGER_Life_Cycle_Consumer_STUB_DEFAULT_H_
 
+
 #include <org/genivi/NodeStateManager/LifeCycleConsumerStub.h>
 #include <sstream>
 
@@ -43,22 +31,23 @@ namespace NodeStateManager {
  * that would be defined for this service, and/or if you do not need any non-default
  * behaviour.
  */
-class LifeCycleConsumerStubDefault : public LifeCycleConsumerStub {
- public:
+class LifeCycleConsumerStubDefault : public virtual LifeCycleConsumerStub {
+public:
     LifeCycleConsumerStubDefault();
 
     LifeCycleConsumerStubRemoteEvent* initStubAdapter(const std::shared_ptr<LifeCycleConsumerStubAdapter>& stubAdapter);
 
+    const CommonAPI::Version& getInterfaceVersion(std::shared_ptr<CommonAPI::ClientId> clientId);
+
 
     virtual void LifecycleRequest(const std::shared_ptr<CommonAPI::ClientId> clientId, uint32_t Request, uint32_t RequestId, int32_t& ErrorCode);
     virtual void LifecycleRequest(uint32_t Request, uint32_t RequestId, int32_t& ErrorCode);
 
 
-    
 
- protected:
-    std::shared_ptr<LifeCycleConsumerStubAdapter> stubAdapter_;
- private:
+
+protected:
+private:
     class RemoteEventHandler: public LifeCycleConsumerStubRemoteEvent {
      public:
         RemoteEventHandler(LifeCycleConsumerStubDefault* defaultStub);
@@ -70,6 +59,8 @@ class LifeCycleConsumerStubDefault : public LifeCycleConsumerStub {
 
     RemoteEventHandler remoteEventHandler_;
 
+
+    CommonAPI::Version interfaceVersion_;
 };
 
 } // namespace NodeStateManager