aboutsummaryrefslogtreecommitdiffstats
path: root/src/glib-abi.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-11-03 00:49:34 +0100
committerHenrik Rydberg <rydberg@euromail.se>2008-11-03 00:49:34 +0100
commit70ba2dbf0f49a4f8d1caa2bbed97c8c2358c6fb6 (patch)
treee1697049bc32fd47b1e639969b4ff752689c92a8 /src/glib-abi.h
downloadxorg-input-kobomultitouch-70ba2dbf0f49a4f8d1caa2bbed97c8c2358c6fb6.tar.gz
xorg-input-kobomultitouch-70ba2dbf0f49a4f8d1caa2bbed97c8c2358c6fb6.tar.bz2
xorg-input-kobomultitouch-70ba2dbf0f49a4f8d1caa2bbed97c8c2358c6fb6.zip
Initial version: adding some files
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/glib-abi.h')
-rw-r--r--src/glib-abi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/glib-abi.h b/src/glib-abi.h
new file mode 100644
index 0000000..62b85d5
--- /dev/null
+++ b/src/glib-abi.h
@@ -0,0 +1,19 @@
+/*
+ * GLIB ABI
+ *
+ * The following is all glib information needed in order to compile
+ * a hald-addon.
+ */
+
+/* logical values */
+const int TRUE = 1;
+const int FALSE;
+
+/* Structure declarations */
+struct GMainContext;
+struct GMainLoop;
+
+/* Function declarations */
+struct GMainLoop *g_main_loop_new(struct GMainContext *context, int is_running);
+void g_main_loop_run(struct GMainLoop *loop);
+