summaryrefslogtreecommitdiff
path: root/include/CommonAPI/DBus/DBusDeployment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/CommonAPI/DBus/DBusDeployment.hpp')
-rw-r--r--include/CommonAPI/DBus/DBusDeployment.hpp26
1 files changed, 22 insertions, 4 deletions
diff --git a/include/CommonAPI/DBus/DBusDeployment.hpp b/include/CommonAPI/DBus/DBusDeployment.hpp
index 21ad78a..dce9d21 100644
--- a/include/CommonAPI/DBus/DBusDeployment.hpp
+++ b/include/CommonAPI/DBus/DBusDeployment.hpp
@@ -21,16 +21,34 @@ namespace DBus {
template<typename... _Types>
struct VariantDeployment : CommonAPI::Deployment<_Types...> {
- VariantDeployment(bool _isFreeDesktop, _Types*... _t)
+ VariantDeployment(bool _isDBus, _Types*... _t)
: CommonAPI::Deployment<_Types...>(_t...),
- isFreeDesktop_(_isFreeDesktop) {
- }
+ isDBus_(_isDBus) {};
- bool isFreeDesktop_;
+ bool isDBus_;
};
extern COMMONAPI_IMPORT_EXPORT VariantDeployment<> freedesktopVariant;
+struct StringDeployment : CommonAPI::Deployment<> {
+ StringDeployment(bool _isObjectPath)
+ : isObjectPath_(_isObjectPath) {};
+
+ bool isObjectPath_;
+};
+
+template<typename... _Types>
+struct StructDeployment : CommonAPI::Deployment<_Types...> {
+ StructDeployment(_Types*... t)
+ : CommonAPI::Deployment<_Types...>(t...) {};
+};
+
+template<typename _ElementDepl>
+struct ArrayDeployment : CommonAPI::ArrayDeployment<_ElementDepl> {
+ ArrayDeployment(_ElementDepl *_element)
+ : CommonAPI::ArrayDeployment<_ElementDepl>(_element) {}
+};
+
} // namespace DBus
} // namespace CommonAPI