increased version number to 2.1.5 and regenerated code for test fidl
[profile/ivi/common-api-dbus-runtime.git] / src / test / commonapi / tests / ExtendedInterfaceProxyBase.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 COMMONAPI_TESTS_Extended_Interface_PROXY_BASE_H_
11 #define COMMONAPI_TESTS_Extended_Interface_PROXY_BASE_H_
12
13 #include "ExtendedInterface.h"
14 #include "TestInterfaceProxyBase.h"
15
16
17
18 #if !defined (COMMONAPI_INTERNAL_COMPILATION)
19 #define COMMONAPI_INTERNAL_COMPILATION
20 #endif
21
22 #include <vector>
23
24 #include <CommonAPI/Proxy.h>
25 #include <functional>
26 #include <future>
27
28 #undef COMMONAPI_INTERNAL_COMPILATION
29
30 namespace commonapi {
31 namespace tests {
32
33 class ExtendedInterfaceProxyBase: virtual public TestInterfaceProxyBase {
34  public:
35
36     typedef std::function<void(const CommonAPI::CallStatus&)> TestIntMethodExtendedAsyncCallback;
37
38
39
40     virtual void TestIntMethodExtended(const uint32_t& inInt, CommonAPI::CallStatus& callStatus) = 0;
41     virtual std::future<CommonAPI::CallStatus> TestIntMethodExtendedAsync(const uint32_t& inInt, TestIntMethodExtendedAsyncCallback callback) = 0;
42 };
43
44 } // namespace tests
45 } // namespace commonapi
46
47 #endif // COMMONAPI_TESTS_Extended_Interface_PROXY_BASE_H_