summaryrefslogtreecommitdiff
path: root/src/test/fake/legacy/service/LegacyInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fake/legacy/service/LegacyInterface.h')
-rw-r--r--src/test/fake/legacy/service/LegacyInterface.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/test/fake/legacy/service/LegacyInterface.h b/src/test/fake/legacy/service/LegacyInterface.h
new file mode 100644
index 0000000..6a604d5
--- /dev/null
+++ b/src/test/fake/legacy/service/LegacyInterface.h
@@ -0,0 +1,58 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
+#ifndef FAKE_LEGACY_SERVICE_Legacy_Interface_H_
+#define FAKE_LEGACY_SERVICE_Legacy_Interface_H_
+
+
+
+#if !defined (COMMONAPI_INTERNAL_COMPILATION)
+#define COMMONAPI_INTERNAL_COMPILATION
+#endif
+
+#include <CommonAPI/types.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace fake {
+namespace legacy {
+namespace service {
+
+class LegacyInterface {
+ public:
+ virtual ~LegacyInterface() { }
+
+ static inline const char* getInterfaceId();
+ static inline CommonAPI::Version getInterfaceVersion();
+};
+
+const char* LegacyInterface::getInterfaceId() {
+ static const char* interfaceId = "fake.legacy.service.LegacyInterface";
+ return interfaceId;
+}
+
+CommonAPI::Version LegacyInterface::getInterfaceVersion() {
+ return CommonAPI::Version(1, 0);
+}
+
+
+} // namespace service
+} // namespace legacy
+} // namespace fake
+
+namespace CommonAPI {
+
+}
+
+
+namespace std {
+ //hashes for types
+
+ //hashes for error types
+}
+
+#endif // FAKE_LEGACY_SERVICE_Legacy_Interface_H_