1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #ifndef COMMONAPI_TESTS_TEST_INTERFACE_H_
5 #define COMMONAPI_TESTS_TEST_INTERFACE_H_
7 #include <CommonAPI/types.h>
14 virtual ~TestInterface() { }
16 static inline const char* getInterfaceName();
17 static inline CommonAPI::Version getInterfaceVersion();
20 const char* TestInterface::getInterfaceName() {
21 return "commonapi.tests.TestInterface";
24 CommonAPI::Version TestInterface::getInterfaceVersion() {
25 return CommonAPI::Version(1, 0);
30 } // namespace commonapi
32 #endif // COMMONAPI_TESTS_TEST_INTERFACE_H_