summaryrefslogtreecommitdiff
path: root/glib/dbus-compiler-main.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-08-14 22:49:13 +0000
committerHavoc Pennington <hp@redhat.com>2003-08-14 22:49:13 +0000
commita6c8a71b1bcba04b63812a61f668e87af0922e5e (patch)
tree7ca780d7d39545e1f23f7cc63e6a22c68e067bf2 /glib/dbus-compiler-main.c
parent9d1c3a0f8428f4b052899ab12c706961efb003d4 (diff)
downloaddbus-a6c8a71b1bcba04b63812a61f668e87af0922e5e.tar.gz
2003-08-14 Havoc Pennington <hp@redhat.com>
* dbus/dbus-pending-call.c: start on new object that will replace DBusMessageHandler and ReplyHandlerData for tracking outstanding replies * dbus/dbus-gproxy.c: start on proxy object used to communicate with remote interfaces * dbus/dbus-gidl.c: do the boring boilerplate in here
Diffstat (limited to 'glib/dbus-compiler-main.c')
-rw-r--r--glib/dbus-compiler-main.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/glib/dbus-compiler-main.c b/glib/dbus-compiler-main.c
new file mode 100644
index 00000000..d8bf7bde
--- /dev/null
+++ b/glib/dbus-compiler-main.c
@@ -0,0 +1,48 @@
+/* -*- mode: C; c-file-style: "gnu" -*- */
+/* dbus-compiler-main.c main() for GLib stubs/skels generator
+ *
+ * Copyright (C) 2003 Red Hat, Inc.
+ *
+ * Licensed under the Academic Free License version 1.2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+#include "dbus-gidl.h"
+
+int
+main (int argc, char **argv)
+{
+
+
+ return 0;
+}
+
+#ifdef DBUS_BUILD_TESTS
+
+/**
+ * @ingroup DBusGCompiler
+ * Unit test for GLib stubs/skels compiler
+ * @returns #TRUE on success.
+ */
+dbus_bool_t
+_dbus_gcompiler_test (void)
+{
+
+ return TRUE;
+}
+
+#endif /* DBUS_BUILD_TESTS */