Add luc-handler-dbus.xml and basic main.c
authorFrancisco Marchena <francisco.marchena@codethink.co.uk>
Wed, 6 Jun 2012 16:18:55 +0000 (17:18 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Mon, 11 Jun 2012 10:59:41 +0000 (11:59 +0100)
luc-handler/luc-handler-dbus.xml [new file with mode: 0644]
luc-handler/main.c [new file with mode: 0644]

diff --git a/luc-handler/luc-handler-dbus.xml b/luc-handler/luc-handler-dbus.xml
new file mode 100644 (file)
index 0000000..792d406
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/org/genivi/LUCHandler1">
+  <interface name="org.genivi.LUCHandler1">
+    <method name="Register">
+      <param name="apps" type="a{sas}" direction="in"/>
+    </method>
+    
+    <method name="Deregister">
+      <param name="apps" type="a{sas}" direction="in"/>
+    </method>
+    
+    <method name="GetLUCContent">
+      <param name="apps" type="a{sas}" direction="out"/>
+    </method>
+    
+    <signal name="LUCChanged">
+      <param name="apps" type="a{sas}"/>
+    </signal>
+    
+  </interface>
+</node>
diff --git a/luc-handler/main.c b/luc-handler/main.c
new file mode 100644 (file)
index 0000000..ab7e7c1
--- /dev/null
@@ -0,0 +1,20 @@
+/* vi:set et ai sw=2 sts=2 ts=2: */
+/* -
+ * Copyright (c) 2012 GENIVI.
+ *
+ * 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/.
+ */
+
+#include <glib.h>
+
+
+
+int
+main (int    argc,
+      char **argv)
+{
+  g_debug ("Hello");
+  return 0;
+}