diff options
author | Colin Walters <walters@verbum.org> | 2010-08-17 13:05:29 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-08-17 13:05:29 -0400 |
commit | 118f35bc7991730a291cc58fdcfb756879853949 (patch) | |
tree | 234882cb5e91dd0f9b2c950ab6b791cae0e006ec /gir | |
parent | ac81f3e8c5f1c380d16677232d67466e739da283 (diff) | |
download | gobject-introspection-118f35bc7991730a291cc58fdcfb756879853949.tar.gz |
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.
Diffstat (limited to 'gir')
-rw-r--r-- | gir/DBus-1.0.gir | 30 | ||||
-rw-r--r-- | gir/DBusGLib-1.0.gir | 16 | ||||
-rw-r--r-- | 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 00000000..331c2287 --- /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 00000000..c71d77b5 --- /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 f9de7136..30c0594a 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) |