summaryrefslogtreecommitdiff
path: root/include/gdp-dbus-service.h
diff options
context:
space:
mode:
authorHolger Behrens <holger.behrens@windriver.com>2015-02-13 12:13:58 +0100
committerHolger Behrens <holger.behrens@windriver.com>2015-02-13 12:13:58 +0100
commit1faf63f8a7a557450bac238ddc1fb95593eadd08 (patch)
tree4c9909c63b44d310acdb66106d654ad18f98bd81 /include/gdp-dbus-service.h
parentb35fcff59281e81b9fdb64448c5a9d011e0d9a28 (diff)
downloadgenivi-demo-platform-hmi-1faf63f8a7a557450bac238ddc1fb95593eadd08.tar.gz
genivi-demo-platform-hmi: uprev to version 0.3
Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
Diffstat (limited to 'include/gdp-dbus-service.h')
-rw-r--r--include/gdp-dbus-service.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/gdp-dbus-service.h b/include/gdp-dbus-service.h
new file mode 100644
index 0000000..ccb7fe2
--- /dev/null
+++ b/include/gdp-dbus-service.h
@@ -0,0 +1,42 @@
+/**
+ * SPDX license identifier: MPL-2.0
+ *
+ * Copyright (C) 2015, GENIVI Alliance
+ *
+ * This file is part of GENIVI Demo Platform HMI.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License (MPL), 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/.
+ *
+ * For further information see http://www.genivi.org/.
+ *
+ * List of changes:
+ * 10.Feb.2014, Holger Behrens, written
+ */
+
+#ifndef GDP_HMI_SERVICE_H
+#define GDP_HMI_SERVICE_H
+
+#include <dbus-c++/dbus.h>
+#include <dbus-c++/glib-integration.h>
+#include <systemd/sd-journal.h>
+
+#include "gdp-hmi-server-glue.h"
+
+static const char *GDP_DBUS_SERVICE_NAME = "org.genivi.gdp.hmi.controller";
+static const char *GDP_DBUS_SERVICE_PATH = "/org/genivi/gdp/hmi/controller";
+
+class HmiService : public org::genivi::gdp::HMI_Controller_adaptor,
+ public DBus::IntrospectableAdaptor,
+ public DBus::ObjectAdaptor
+{
+public:
+ HmiService(DBus::Connection &connection);
+
+ int64_t GetId();
+
+ std::string Show(const std::string &name);
+};
+
+#endif // GDP_HMI_SERVICE_H \ No newline at end of file