2 * This file was generated by the CommonAPI Generators.
3 * Used org.genivi.commonapi.core 2.1.5.qualifier.
4 * Used org.franca.core 0.8.10.201309262002.
6 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7 * If a copy of the MPL was not distributed with this file, You can obtain one at
8 * http://mozilla.org/MPL/2.0/.
10 #ifndef FAKE_LEGACY_SERVICE_Legacy_Interface_H_
11 #define FAKE_LEGACY_SERVICE_Legacy_Interface_H_
16 #if !defined (COMMONAPI_INTERNAL_COMPILATION)
17 #define COMMONAPI_INTERNAL_COMPILATION
20 #include <CommonAPI/types.h>
22 #undef COMMONAPI_INTERNAL_COMPILATION
28 class LegacyInterface {
30 virtual ~LegacyInterface() { }
32 static inline const char* getInterfaceId();
33 static inline CommonAPI::Version getInterfaceVersion();
36 const char* LegacyInterface::getInterfaceId() {
37 static const char* interfaceId = "fake.legacy.service.LegacyInterface";
41 CommonAPI::Version LegacyInterface::getInterfaceVersion() {
42 return CommonAPI::Version(1, 0);
46 } // namespace service
58 //hashes for error types
61 #endif // FAKE_LEGACY_SERVICE_Legacy_Interface_H_