1 /* This Source Code Form is subject to the terms of the Mozilla Public
\r
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
\r
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
\r
4 #ifndef COMMONAPI_DBUS_DBUS_RUNTIME_H_
\r
5 #define COMMONAPI_DBUS_DBUS_RUNTIME_H_
\r
7 #include "CommonAPI/Runtime.h"
\r
9 #include "DBusFactory.h"
\r
11 namespace CommonAPI {
\r
14 class DBusRuntime: public Runtime, public std::enable_shared_from_this<DBusRuntime> {
\r
16 static std::shared_ptr<Runtime> getInstance();
\r
18 std::shared_ptr<Factory> createFactory();
\r
20 static const MiddlewareInfo middlewareInfo_;
\r
24 } // namespace CommonAPI
\r
29 CommonAPI::MiddlewareInfo middlewareInfo = CommonAPI::DBus::DBusRuntime::middlewareInfo_;
\r
33 #endif // COMMONAPI_DBUS_DBUS_RUNTIME_H_
\r