summaryrefslogtreecommitdiff
path: root/src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h')
-rw-r--r--src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h b/src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h
index 5ea7ea7..90b0787 100644
--- a/src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h
+++ b/src/test/commonapi/tests/managed/BranchInterfaceStubDefault.h
@@ -1,6 +1,6 @@
/*
* This file was generated by the CommonAPI Generators.
-* Used org.genivi.commonapi.core 2.1.3.qualifier.
+* Used org.genivi.commonapi.core 2.1.4.qualifier.
* Used org.franca.core 0.8.10.201309262002.
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
@@ -10,6 +10,7 @@
#ifndef COMMONAPI_TESTS_MANAGED_Branch_Interface_STUB_DEFAULT_H_
#define COMMONAPI_TESTS_MANAGED_Branch_Interface_STUB_DEFAULT_H_
+
#include <commonapi/tests/managed/BranchInterfaceStub.h>
#include <sstream>
@@ -27,8 +28,8 @@ namespace managed {
* that would be defined for this service, and/or if you do not need any non-default
* behaviour.
*/
-class BranchInterfaceStubDefault : public BranchInterfaceStub {
- public:
+class BranchInterfaceStubDefault : public virtual BranchInterfaceStub {
+public:
BranchInterfaceStubDefault();
BranchInterfaceStubRemoteEvent* initStubAdapter(const std::shared_ptr<BranchInterfaceStubAdapter>& stubAdapter);
@@ -40,9 +41,8 @@ class BranchInterfaceStubDefault : public BranchInterfaceStub {
- protected:
- std::shared_ptr<BranchInterfaceStubAdapter> stubAdapter_;
- private:
+protected:
+private:
class RemoteEventHandler: public BranchInterfaceStubRemoteEvent {
public:
RemoteEventHandler(BranchInterfaceStubDefault* defaultStub);