// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // 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/. #if !defined (COMMONAPI_INTERNAL_COMPILATION) #error "Only can be included directly, this file may disappear or change contents." #endif #ifndef COMMONAPI_DBUS_DBUSDEPLOYMENTS_HPP_ #define COMMONAPI_DBUS_DBUSDEPLOYMENTS_HPP_ #include #include #include #include namespace CommonAPI { namespace DBus { template struct VariantDeployment : CommonAPI::Deployment<_Types...> { VariantDeployment(bool _isDBus, _Types*... _t) : CommonAPI::Deployment<_Types...>(_t...), isDBus_(_isDBus) {}; bool isDBus_; }; extern COMMONAPI_IMPORT_EXPORT VariantDeployment<> freedesktopVariant; struct StringDeployment : CommonAPI::Deployment<> { StringDeployment(bool _isObjectPath) : isObjectPath_(_isObjectPath) {}; bool isObjectPath_; }; template struct StructDeployment : CommonAPI::Deployment<_Types...> { StructDeployment(_Types*... t) : CommonAPI::Deployment<_Types...>(t...) {}; }; template struct ArrayDeployment : CommonAPI::ArrayDeployment<_ElementDepl> { ArrayDeployment(_ElementDepl *_element) : CommonAPI::ArrayDeployment<_ElementDepl>(_element) {} }; } // namespace DBus } // namespace CommonAPI #endif // COMMONAPI_DBUS_DBUSDEPLOYMENTS_HPP_