diff options
Diffstat (limited to 'src/CommonAPI/DBus/DBusInterfaceHandler.h')
-rw-r--r-- | src/CommonAPI/DBus/DBusInterfaceHandler.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/CommonAPI/DBus/DBusInterfaceHandler.h b/src/CommonAPI/DBus/DBusInterfaceHandler.h new file mode 100644 index 0000000..92b65fa --- /dev/null +++ b/src/CommonAPI/DBus/DBusInterfaceHandler.h @@ -0,0 +1,30 @@ +/* Copyright (C) 2013 BMW Group + * Author: Manfred Bathelt (manfred.bathelt@bmw.de) + * Author: Juergen Gehring (juergen.gehring@bmw.de) + * 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/. */ +#ifndef COMMONAPI_DBUS_INTERFACE_HANDLER_H_ +#define COMMONAPI_DBUS_INTERFACE_HANDLER_H_ + +#include "DBusProxyConnection.h" +#include "DBusMessage.h" + +#include <memory> + +namespace CommonAPI { +namespace DBus { + +class DBusInterfaceHandler { + public: + virtual ~DBusInterfaceHandler() { } + + virtual const char* getMethodsDBusIntrospectionXmlData() const = 0; + + virtual bool onInterfaceDBusMessage(const DBusMessage& dbusMessage) = 0; +}; + +} // namespace dbus +} // namespace CommonAPI + +#endif // COMMONAPI_DBUS_INTERFACE_HANDLER_H_ |