]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: update GIR-based bindings.
authorRico Tzschichholz <ricotz@t-online.de>
Mon, 1 Oct 2012 18:28:54 +0000 (20:28 +0200)
committerRico Tzschichholz <ricotz@t-online.de>
Mon, 1 Oct 2012 18:28:54 +0000 (20:28 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gtksourceview-3.0.vapi
vapi/libwnck-3.0.vapi
vapi/udisks2.vapi

index 378302e076b7a8374a31e7227e0a394c5a445baa..a0c0734fed80c3338fd9a075c75c6c1cc6398d4e 100644 (file)
@@ -1983,6 +1983,10 @@ namespace Gst {
                public void* data;
                public uint64 offset;
                public uint size;
+               public unowned Gst.Buffer get_buffer ();
+               public Gst.BufferList get_buffer_list ();
+               public unowned Gst.Event get_event ();
+               public unowned Gst.Query get_query ();
        }
        [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
        public struct ParamSpecFraction {
@@ -2849,7 +2853,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate Gst.Iterator PadIterIntLinkFunction (Gst.Pad pad, Gst.Object parent);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
-       public delegate Gst.PadLinkReturn PadLinkFunction (Gst.Pad pad, Gst.Pad peer);
+       public delegate Gst.PadLinkReturn PadLinkFunction (Gst.Pad pad, Gst.Object parent, Gst.Pad peer);
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
        public delegate Gst.PadProbeReturn PadProbeCallback (Gst.Pad pad, Gst.PadProbeInfo info);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
@@ -2857,7 +2861,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
        public delegate bool PadStickyEventsForeachFunction (Gst.Pad pad, Gst.Event event);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
-       public delegate void PadUnlinkFunction (Gst.Pad pad);
+       public delegate void PadUnlinkFunction (Gst.Pad pad, Gst.Object parent);
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
        public delegate bool PluginFeatureFilter (Gst.PluginFeature feature);
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
index b67cd5e8efec230c3b67105f5b007101f6a4e247..2920c253b8d8e19bc8461fa3642d934e9ee3044a 100644 (file)
@@ -649,7 +649,7 @@ namespace Gst {
                [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_iec61937_frame_size")]
                public static uint audio_iec61937_frame_size (Gst.Audio.RingBufferSpec spec);
                [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_iec61937_payload")]
-               public static bool audio_iec61937_payload ([CCode (array_length_cname = "src_n", array_length_pos = 1.5, array_length_type = "guint")] uint8[] src, [CCode (array_length_cname = "dst_n", array_length_pos = 2.5, array_length_type = "guint")] uint8[] dst, Gst.Audio.RingBufferSpec spec);
+               public static bool audio_iec61937_payload ([CCode (array_length_cname = "src_n", array_length_pos = 1.5, array_length_type = "guint")] uint8[] src, [CCode (array_length_cname = "dst_n", array_length_pos = 2.5, array_length_type = "guint")] uint8[] dst, Gst.Audio.RingBufferSpec spec, int endianness);
                [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_reorder_channels")]
                public static bool audio_reorder_channels ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
                [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_buffer_add_audio_downmix_meta")]
index ac487339cdc3cb8778f6afe23ef92853a76fa2ba..9b708571a1bc1261ee98f5d94caf4834dd713d19 100644 (file)
@@ -66,7 +66,7 @@ namespace Gtk {
                protected SourceCompletion ();
                public bool add_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
                public void block_interactive ();
-               public Gtk.SourceCompletionContext create_context (Gtk.TextIter? position);
+               public unowned Gtk.SourceCompletionContext create_context (Gtk.TextIter? position);
                public unowned Gtk.SourceCompletionInfo get_info_window ();
                public unowned GLib.List<Gtk.SourceCompletionProvider> get_providers ();
                public unowned Gtk.SourceView get_view ();
@@ -75,7 +75,7 @@ namespace Gtk {
                public virtual bool proposal_activated (Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal proposal);
                public bool remove_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
                [CCode (cname = "gtk_source_completion_show")]
-               public bool start (GLib.List<Gtk.SourceCompletionProvider>? providers, owned Gtk.SourceCompletionContext context);
+               public bool start (GLib.List<Gtk.SourceCompletionProvider>? providers, Gtk.SourceCompletionContext context);
                public void unblock_interactive ();
                [NoAccessorMethod]
                public uint accelerators { get; set construct; }
@@ -148,6 +148,11 @@ namespace Gtk {
                [NoAccessorMethod]
                public string text { owned get; set; }
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "CompletionModel")]
+       public class SourceCompletionModel {
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_words_get_type ()")]
        [GIR (name = "CompletionWords")]
        public class SourceCompletionWords : GLib.Object, Gtk.SourceCompletionProvider {
@@ -170,6 +175,16 @@ namespace Gtk {
                [NoAccessorMethod]
                public uint scan_batch_size { get; set construct; }
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "ContextEngine")]
+       public class SourceContextEngine {
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "Engine")]
+       public class SourceEngine {
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
        [GIR (name = "Gutter")]
        public class SourceGutter : GLib.Object {
@@ -246,6 +261,16 @@ namespace Gtk {
                [HasEmitter]
                public virtual signal void queue_draw ();
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "GutterRendererLines")]
+       public class SourceGutterRendererLines {
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "GutterRendererMarks")]
+       public class SourceGutterRendererMarks {
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_pixbuf_get_type ()")]
        [GIR (name = "GutterRendererPixbuf")]
        public class SourceGutterRendererPixbuf : Gtk.SourceGutterRenderer {
@@ -356,6 +381,11 @@ namespace Gtk {
                public signal string query_tooltip_markup (Gtk.SourceMark mark);
                public signal string query_tooltip_text (Gtk.SourceMark mark);
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "PixbufHelper")]
+       public class SourcePixbufHelper {
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_print_compositor_get_type ()")]
        [GIR (name = "PrintCompositor")]
        public class SourcePrintCompositor : GLib.Object {
@@ -411,6 +441,11 @@ namespace Gtk {
                public uint tab_width { get; set; }
                public Gtk.WrapMode wrap_mode { get; set; }
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "Regex")]
+       public class SourceRegex {
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_get_type ()")]
        [GIR (name = "Style")]
        public class SourceStyle : GLib.Object {
@@ -483,6 +518,11 @@ namespace Gtk {
                [CCode (array_length = false, array_null_terminated = true)]
                public string[] search_path { get; set; }
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h")]
+       [Compact]
+       [GIR (name = "UndoManagerDefault")]
+       public class SourceUndoManagerDefault {
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_view_get_type ()")]
        [GIR (name = "View")]
        public class SourceView : Gtk.TextView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
index d8ff68846bf8c9784f259395ab5ca39429f17acc..d49f74fe236566cf391a1dd49dbacee2bc2fc46a 100644 (file)
@@ -120,6 +120,7 @@ namespace Wnck {
                public void set_grouping (Wnck.TasklistGroupingType grouping);
                public void set_grouping_limit (int limit);
                public void set_include_all_workspaces (bool include_all_workspaces);
+               public void set_orientation (Gtk.Orientation orient);
                public void set_switch_workspace_on_unminimize (bool switch_workspace_on_unminimize);
        }
        [CCode (cheader_filename = "libwnck/libwnck.h", type_id = "wnck_window_get_type ()")]
index 217b30529679781ba56e7afc1f411c55ce1f1218..009903715782fc4f1bc06f4fd3645356b8a15c8b 100644 (file)
@@ -22,7 +22,7 @@ namespace UDisks {
        public class Client : GLib.Object, GLib.AsyncInitable, GLib.Initable {
                [CCode (cname = "udisks_client_new", has_construct_function = false)]
                public async Client (GLib.Cancellable? cancellable) throws GLib.Error;
-               public UDisks.Block get_block_for_dev (int block_device_number);
+               public UDisks.Block get_block_for_dev (uint64 block_device_number);
                public UDisks.Block get_block_for_drive (UDisks.Drive drive, bool get_physical);
                public GLib.List<UDisks.Block> get_block_for_label (string label);
                public GLib.List<UDisks.Block> get_block_for_uuid (string uuid);
@@ -30,6 +30,7 @@ namespace UDisks {
                public UDisks.Drive get_drive_for_block (UDisks.Block block);
                public void get_drive_info (UDisks.Drive drive, out string out_name, out string out_description, out GLib.Icon out_drive_icon, out string out_media_description, out GLib.Icon out_media_icon);
                public string get_id_for_display (string usage, string type, string version, bool long_string);
+               public string get_job_description (UDisks.Job job);
                public GLib.List<UDisks.Job> get_jobs_for_object (UDisks.Object object);
                public UDisks.Loop get_loop_for_block (UDisks.Block block);
                public unowned UDisks.Manager get_manager ();
@@ -266,18 +267,24 @@ namespace UDisks {
                public bool call_get_secret_configuration_sync (GLib.Variant arg_options, out GLib.Variant out_configuration, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_open_for_backup (GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list) throws GLib.Error;
                public bool call_open_for_backup_sync (GLib.Variant arg_options, GLib.UnixFDList? fd_list, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool call_open_for_benchmark (GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list) throws GLib.Error;
+               public bool call_open_for_benchmark_sync (GLib.Variant arg_options, GLib.UnixFDList? fd_list, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_open_for_restore (GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list) throws GLib.Error;
                public bool call_open_for_restore_sync (GLib.Variant arg_options, GLib.UnixFDList? fd_list, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_remove_configuration_item (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
                public bool call_remove_configuration_item_sync (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool call_rescan (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+               public bool call_rescan_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_update_configuration_item (GLib.Variant arg_old_item, GLib.Variant arg_new_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
                public bool call_update_configuration_item_sync (GLib.Variant arg_old_item, GLib.Variant arg_new_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public void complete_add_configuration_item (owned GLib.DBusMethodInvocation invocation);
                public void complete_format (owned GLib.DBusMethodInvocation invocation);
                public void complete_get_secret_configuration (owned GLib.DBusMethodInvocation invocation, GLib.Variant configuration);
                public void complete_open_for_backup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
+               public void complete_open_for_benchmark (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
                public void complete_open_for_restore (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
                public void complete_remove_configuration_item (owned GLib.DBusMethodInvocation invocation);
+               public void complete_rescan (owned GLib.DBusMethodInvocation invocation);
                public void complete_update_configuration_item (owned GLib.DBusMethodInvocation invocation);
                public static unowned GLib.DBusInterfaceInfo interface_info ();
                public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
@@ -326,22 +333,31 @@ namespace UDisks {
                public virtual signal bool handle_format (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
                public virtual signal bool handle_get_secret_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
                public virtual signal bool handle_open_for_backup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
+               public virtual signal bool handle_open_for_benchmark (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
                public virtual signal bool handle_open_for_restore (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
                public virtual signal bool handle_remove_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_item, GLib.Variant arg_options);
+               public virtual signal bool handle_rescan (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
                public virtual signal bool handle_update_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_old_item, GLib.Variant arg_new_item, GLib.Variant arg_options);
        }
        [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_get_type ()")]
        public interface Drive : GLib.Object {
                public async bool call_eject (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
                public bool call_eject_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool call_set_configuration (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+               public bool call_set_configuration_sync (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public void complete_eject (owned GLib.DBusMethodInvocation invocation);
+               public void complete_set_configuration (owned GLib.DBusMethodInvocation invocation);
                public static unowned GLib.DBusInterfaceInfo interface_info ();
                public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
                [NoAccessorMethod]
+               public abstract GLib.Variant configuration { owned get; set; }
+               [NoAccessorMethod]
                public abstract string connection_bus { owned get; set; }
                [NoAccessorMethod]
                public abstract bool ejectable { get; set; }
                [NoAccessorMethod]
+               public abstract string id { owned get; set; }
+               [NoAccessorMethod]
                public abstract string media { owned get; set; }
                [NoAccessorMethod]
                public abstract bool media_available { get; set; }
@@ -389,9 +405,18 @@ namespace UDisks {
                [NoAccessorMethod]
                public abstract string wwn { owned get; set; }
                public virtual signal bool handle_eject (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+               public virtual signal bool handle_set_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_value, GLib.Variant arg_options);
        }
        [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_get_type ()")]
        public interface DriveAta : GLib.Object {
+               public async bool call_pm_get_state (GLib.Variant arg_options, GLib.Cancellable? cancellable, out uint8 out_state) throws GLib.Error;
+               public bool call_pm_get_state_sync (GLib.Variant arg_options, out uint8 out_state, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool call_pm_standby (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+               public bool call_pm_standby_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool call_pm_wakeup (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+               public bool call_pm_wakeup_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool call_security_erase_unit (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+               public bool call_security_erase_unit_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_smart_get_attributes (GLib.Variant arg_options, GLib.Cancellable? cancellable, out GLib.Variant out_attributes) throws GLib.Error;
                public bool call_smart_get_attributes_sync (GLib.Variant arg_options, out GLib.Variant out_attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_smart_selftest_abort (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -400,6 +425,10 @@ namespace UDisks {
                public bool call_smart_selftest_start_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async bool call_smart_update (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
                public bool call_smart_update_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public void complete_pm_get_state (owned GLib.DBusMethodInvocation invocation, uint8 state);
+               public void complete_pm_standby (owned GLib.DBusMethodInvocation invocation);
+               public void complete_pm_wakeup (owned GLib.DBusMethodInvocation invocation);
+               public void complete_security_erase_unit (owned GLib.DBusMethodInvocation invocation);
                public void complete_smart_get_attributes (owned GLib.DBusMethodInvocation invocation, GLib.Variant attributes);
                public void complete_smart_selftest_abort (owned GLib.DBusMethodInvocation invocation);
                public void complete_smart_selftest_start (owned GLib.DBusMethodInvocation invocation);
@@ -407,6 +436,26 @@ namespace UDisks {
                public static unowned GLib.DBusInterfaceInfo interface_info ();
                public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
                [NoAccessorMethod]
+               public abstract bool aam_enabled { get; set; }
+               [NoAccessorMethod]
+               public abstract bool aam_supported { get; set; }
+               [NoAccessorMethod]
+               public abstract int aam_vendor_recommended_value { get; set; }
+               [NoAccessorMethod]
+               public abstract bool apm_enabled { get; set; }
+               [NoAccessorMethod]
+               public abstract bool apm_supported { get; set; }
+               [NoAccessorMethod]
+               public abstract bool pm_enabled { get; set; }
+               [NoAccessorMethod]
+               public abstract bool pm_supported { get; set; }
+               [NoAccessorMethod]
+               public abstract int security_enhanced_erase_unit_minutes { get; set; }
+               [NoAccessorMethod]
+               public abstract int security_erase_unit_minutes { get; set; }
+               [NoAccessorMethod]
+               public abstract bool security_frozen { get; set; }
+               [NoAccessorMethod]
                public abstract bool smart_enabled { get; set; }
                [NoAccessorMethod]
                public abstract bool smart_failing { get; set; }
@@ -428,6 +477,10 @@ namespace UDisks {
                public abstract double smart_temperature { get; set; }
                [NoAccessorMethod]
                public abstract uint64 smart_updated { get; set; }
+               public virtual signal bool handle_pm_get_state (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+               public virtual signal bool handle_pm_standby (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+               public virtual signal bool handle_pm_wakeup (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+               public virtual signal bool handle_security_erase_unit (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
                public virtual signal bool handle_smart_get_attributes (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
                public virtual signal bool handle_smart_selftest_abort (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
                public virtual signal bool handle_smart_selftest_start (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
@@ -479,14 +532,22 @@ namespace UDisks {
                public static unowned GLib.DBusInterfaceInfo interface_info ();
                public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
                [NoAccessorMethod]
+               public abstract bool cancelable { get; set; }
+               [NoAccessorMethod]
                public abstract uint64 expected_end_time { get; set; }
                [CCode (array_length = false, array_null_terminated = true)]
                [NoAccessorMethod]
                public abstract string[] objects { owned get; set; }
                [NoAccessorMethod]
+               public abstract string operation { owned get; set; }
+               [NoAccessorMethod]
                public abstract double progress { get; set; }
                [NoAccessorMethod]
+               public abstract bool progress_valid { get; set; }
+               [NoAccessorMethod]
                public abstract uint64 start_time { get; set; }
+               [NoAccessorMethod]
+               public abstract uint started_by_uid { get; set; }
                public virtual signal void completed (bool arg_success, string arg_message);
                public virtual signal bool handle_cancel (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
        }
@@ -589,7 +650,7 @@ namespace UDisks {
                [NoAccessorMethod]
                public abstract string table { owned get; set; }
                [NoAccessorMethod]
-               public abstract string type_ { owned get; set; }
+               public abstract string type { owned get; set; }
                [NoAccessorMethod]
                public abstract string uuid { owned get; set; }
                public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
@@ -605,7 +666,7 @@ namespace UDisks {
                public static unowned GLib.DBusInterfaceInfo interface_info ();
                public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
                [NoAccessorMethod]
-               public abstract string type_ { owned get; set; }
+               public abstract string type { owned get; set; }
                public virtual signal bool handle_create_partition (GLib.DBusMethodInvocation invocation, uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options);
        }
        [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_get_type ()")]
@@ -623,8 +684,18 @@ namespace UDisks {
                public virtual signal bool handle_start (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
                public virtual signal bool handle_stop (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
        }
+       [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_PARTITION_TYPE_INFO_FLAGS_", type_id = "udisks_partition_type_info_flags_get_type ()")]
+       [Flags]
+       public enum PartitionTypeInfoFlags {
+               NONE,
+               SWAP,
+               RAID,
+               HIDDEN,
+               CREATE_ONLY,
+               SYSTEM
+       }
        [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_ERROR_")]
-       public enum Error {
+       public errordomain Error {
                FAILED,
                CANCELLED,
                ALREADY_CANCELLED,
@@ -642,16 +713,6 @@ namespace UDisks {
                DEVICE_BUSY;
                public static GLib.Quark quark ();
        }
-       [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_PARTITION_TYPE_INFO_FLAGS_")]
-       [Flags]
-       public enum PartitionTypeInfoFlags {
-               NONE,
-               SWAP,
-               RAID,
-               HIDDEN,
-               CREATE_ONLY,
-               SYSTEM
-       }
        [CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_ERROR_NUM_ENTRIES")]
        public const int ERROR_NUM_ENTRIES;
        [CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MAJOR_VERSION")]