increased version number to 2.1.5 and regenerated code for test fidl
[profile/ivi/common-api-dbus-runtime.git] / src / test / fake / legacy / service / LegacyInterface.h
1 /*
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.
5 *
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/.
9 */
10 #ifndef FAKE_LEGACY_SERVICE_Legacy_Interface_H_
11 #define FAKE_LEGACY_SERVICE_Legacy_Interface_H_
12
13
14
15
16 #if !defined (COMMONAPI_INTERNAL_COMPILATION)
17 #define COMMONAPI_INTERNAL_COMPILATION
18 #endif
19
20 #include <CommonAPI/types.h>
21
22 #undef COMMONAPI_INTERNAL_COMPILATION
23
24 namespace fake {
25 namespace legacy {
26 namespace service {
27
28 class LegacyInterface {
29  public:
30     virtual ~LegacyInterface() { }
31
32     static inline const char* getInterfaceId();
33     static inline CommonAPI::Version getInterfaceVersion();
34 };
35
36 const char* LegacyInterface::getInterfaceId() {
37     static const char* interfaceId = "fake.legacy.service.LegacyInterface";
38     return interfaceId;
39 }
40
41 CommonAPI::Version LegacyInterface::getInterfaceVersion() {
42     return CommonAPI::Version(1, 0);
43 }
44
45
46 } // namespace service
47 } // namespace legacy
48 } // namespace fake
49
50 namespace CommonAPI {
51
52 }
53
54
55 namespace std {
56     //hashes for types
57
58     //hashes for error types
59 }
60
61 #endif // FAKE_LEGACY_SERVICE_Legacy_Interface_H_