[gobject-introspection] gir: Import DBus, DBusGLib



commit 118f35bc7991730a291cc58fdcfb756879853949
Author: Colin Walters <walters verbum org>
Date:   Tue Aug 17 13:05:29 2010 -0400

    gir: Import DBus, DBusGLib
    
    These used to live in gir-repository; similarly to how we're presently just holding
    random .gir files for the lowlevel bits of the platform, suck these in.
    
    In the future they'll be obsoleted by foreigns.

 gir/DBus-1.0.gir     |   30 ++++++++++++++++++++++++++++++
 gir/DBusGLib-1.0.gir |   16 ++++++++++++++++
 gir/Makefile.am      |    4 ++++
 3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/gir/DBus-1.0.gir b/gir/DBus-1.0.gir
new file mode 100644
index 0000000..331c228
--- /dev/null
+++ b/gir/DBus-1.0.gir
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<repository version="1.1"
+            xmlns="http://www.gtk.org/introspection/core/1.0";
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";
+            xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
+  <package name="dbus-1"/>
+  <namespace name="DBus"
+             version="1.0"
+             c:prefix="DBus">
+    <enumeration name="BusType" c:type="DBusBusType">
+      <member name="session" value="0" c:identifier="DBUS_BUS_SESSION"/>
+      <member name="system" value="1" c:identifier="DBUS_BUS_SYSTEM"/>
+      <member name="starter" value="2" c:identifier="DBUS_BUS_STARTER"/>
+    </enumeration>
+    <record name="Connection"
+            c:type="DBusConnection"
+            glib:type-name="DBusConnection"
+            glib:get-type="dbus_connection_get_type">
+    </record>
+    <record name="Error" c:type="DBusError">
+    </record>
+    <record name="Message"
+            c:type="DBusMessage">
+    </record>
+    <record name="MessageIter" c:type="DBusMessageIter">
+    </record>
+    <record name="PendingCall" c:type="DBusPendingCall">
+    </record>
+  </namespace>
+</repository>
diff --git a/gir/DBusGLib-1.0.gir b/gir/DBusGLib-1.0.gir
new file mode 100644
index 0000000..c71d77b
--- /dev/null
+++ b/gir/DBusGLib-1.0.gir
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<repository version="1.1"
+            xmlns="http://www.gtk.org/introspection/core/1.0";
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";
+	    xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
+  <include name="GObject" version="2.0"/>
+  <package name="dbus-glib-1"/>
+  <namespace name="DBusGLib" version="1.0" c:prefix="DBusG">
+    <record name="Connection" c:type="DBusGConnection"/>
+    <record name="MethodInvocation" c:type="DBusGMethodInvocation"/>
+    <class name="Proxy" c:type="DBusGProxy" parent="GObject.Object"
+      glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
+    </class>
+    <record name="ProxyClass" c:type="DBusGProxyClass"/>
+  </namespace>
+</repository>
diff --git a/gir/Makefile.am b/gir/Makefile.am
index f9de713..30c0594 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -8,6 +8,8 @@ EXTRA_DIST =
 
 BASE_GIRSOURCES =               \
         cairo-1.0.gir           \
+        DBus-1.0.gir           \
+        DBusGLib-1.0.gir           \
         fontconfig-2.0.gir      \
         freetype2-2.0.gir       \
         GL-1.0.gir              \
@@ -48,6 +50,8 @@ GLib_2_0_gir_FILES =  \
 INTROSPECTION_GIRS += GLib-2.0.gir
 EXTRA_DIST += glib-2.0.c GLib-2.0.xpath
 
+DBusGLib-1.0.typelib: GObject-2.0.gir
+
 # gobject
 GOBJECT_INCLUDEDIR=$(shell pkg-config --variable=includedir gobject-2.0)/glib-2.0
 GOBJECT_LIBDIR=$(shell pkg-config --variable=libdir gobject-2.0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]