summaryrefslogtreecommitdiff
path: root/include/CommonAPI/DBus/DBusSerializableArguments.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/CommonAPI/DBus/DBusSerializableArguments.hpp')
-rw-r--r--include/CommonAPI/DBus/DBusSerializableArguments.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/CommonAPI/DBus/DBusSerializableArguments.hpp b/include/CommonAPI/DBus/DBusSerializableArguments.hpp
new file mode 100644
index 0000000..f763ce5
--- /dev/null
+++ b/include/CommonAPI/DBus/DBusSerializableArguments.hpp
@@ -0,0 +1,30 @@
+// Copyright (C) 2013-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 <CommonAPI/CommonAPI.hpp> can be included directly, this file may disappear or change contents."
+#endif
+
+#ifndef COMMONAPI_DBUS_DBUS_SERIALIZABLEARGUMENTS_HPP_
+#define COMMONAPI_DBUS_DBUS_SERIALIZABLEARGUMENTS_HPP_
+
+#include <CommonAPI/SerializableArguments.hpp>
+#include <CommonAPI/DBus/DBusInputStream.hpp>
+#include <CommonAPI/DBus/DBusOutputStream.hpp>
+
+namespace CommonAPI {
+namespace DBus {
+
+template<typename... _Arguments>
+using DBusSerializableArguments = CommonAPI::SerializableArguments<
+ DBusInputStream,
+ DBusOutputStream,
+ _Arguments...
+ >;
+
+} // namespace DBus
+} // namespace CommonAPI
+
+#endif // COMMONAPI_DBUS_DBUSSERIALIZABLEARGUMENTS_HPP_