]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Dec 2014 22:30:54 +0000 (23:30 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Dec 2014 22:30:54 +0000 (23:30 +0100)
vapi/atk.vapi
vapi/geocode-glib-1.0.vapi
vapi/gio-2.0.vapi

index 759e8679f25eb0ed9cb88a8ec35cc9bc520bf57f..149dc554596b8e5029a941f431113a89836b6358 100644 (file)
@@ -795,6 +795,7 @@ namespace Atk {
                CHECKABLE,
                HAS_POPUP,
                HAS_TOOLTIP,
+               READ_ONLY,
                LAST_DEFINED;
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.StateType for_name (string name);
index cba4d1bfeaf8604631f7a0c00260212588e7154a..ba7e2d715a141019eba74586274f11f0848c21e2 100644 (file)
@@ -94,6 +94,7 @@ namespace Geocode {
                public unowned Geocode.Location get_location ();
                public unowned string get_name ();
                public unowned string get_osm_id ();
+               public Geocode.PlaceOsmType get_osm_type ();
                public Geocode.PlaceType get_place_type ();
                public unowned string get_postal_code ();
                public unowned string get_state ();
@@ -130,6 +131,8 @@ namespace Geocode {
                public string name { get; set; }
                [NoAccessorMethod]
                public string osm_id { owned get; set; }
+               [NoAccessorMethod]
+               public Geocode.PlaceOsmType osm_type { get; set; }
                public Geocode.PlaceType place_type { get; construct; }
                public string postal_code { get; set; }
                public string state { get; set; }
@@ -154,6 +157,13 @@ namespace Geocode {
        public enum LocationURIScheme {
                GEO
        }
+       [CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_PLACE_OSM_TYPE_", type_id = "geocode_place_osm_type_get_type ()")]
+       public enum PlaceOsmType {
+               UNKNOWN,
+               NODE,
+               RELATION,
+               WAY
+       }
        [CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_PLACE_TYPE_", type_id = "geocode_place_type_get_type ()")]
        public enum PlaceType {
                UNKNOWN,
index 73e2ff533cab2210a0a4dfca6ce8eec6db6c0dfc..57769a99155db0187bb93bf52719b8e375efa687 100644 (file)
@@ -2780,9 +2780,12 @@ namespace GLib {
        public interface NetworkMonitor : GLib.Initable, GLib.Object {
                public abstract bool can_reach (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract async bool can_reach_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public GLib.NetworkConnectivity get_connectivity ();
                public static unowned GLib.NetworkMonitor get_default ();
                public bool get_network_available ();
                [NoAccessorMethod]
+               public abstract GLib.NetworkConnectivity connectivity { get; }
+               [NoAccessorMethod]
                public abstract bool network_available { get; }
                public virtual signal void network_changed (bool available);
        }
@@ -3303,6 +3306,13 @@ namespace GLib {
                NONE,
                FORCE
        }
+       [CCode (cheader_filename = "gio/gio.h", cprefix = "G_NETWORK_CONNECTIVITY_", type_id = "g_network_connectivity_get_type ()")]
+       public enum NetworkConnectivity {
+               LOCAL,
+               LIMITED,
+               PORTAL,
+               FULL
+       }
        [CCode (cheader_filename = "gio/gio.h", cprefix = "G_NOTIFICATION_PRIORITY_", type_id = "g_notification_priority_get_type ()")]
        public enum NotificationPriority {
                NORMAL,
@@ -3592,7 +3602,8 @@ namespace GLib {
                PROXY_NEED_AUTH,
                PROXY_NOT_ALLOWED,
                BROKEN_PIPE,
-               CONNECTION_CLOSED;
+               CONNECTION_CLOSED,
+               NOT_CONNECTED;
                [CCode (cheader_filename = "gio/gio.h")]
                public static unowned GLib.IOError from_errno (int err_no);
                [CCode (cheader_filename = "gio/gio.h")]