blob: c38b5412597e3e43f92ff58abc3d40499667b3a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*
* 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 COMMONAPI_TESTS_Test_Interface_H_
#define COMMONAPI_TESTS_Test_Interface_H_
#if !defined (COMMONAPI_INTERNAL_COMPILATION)
#define COMMONAPI_INTERNAL_COMPILATION
#endif
#include <CommonAPI/types.h>
#undef COMMONAPI_INTERNAL_COMPILATION
namespace commonapi {
namespace tests {
class TestInterface {
public:
virtual ~TestInterface() { }
static inline const char* getInterfaceId();
static inline CommonAPI::Version getInterfaceVersion();
};
const char* TestInterface::getInterfaceId() {
static const char* interfaceId = "commonapi.tests.TestInterface";
return interfaceId;
}
CommonAPI::Version TestInterface::getInterfaceVersion() {
return CommonAPI::Version(1, 0);
}
} // namespace tests
} // namespace commonapi
namespace CommonAPI {
}
namespace std {
//hashes for types
//hashes for error types
}
#endif // COMMONAPI_TESTS_Test_Interface_H_
|