Commit 71c63d92 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Mark signals as virtual to make it possible to override default method

2008-05-29  Juerg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala:
	* vapigen/valagidlparser.vala:

	Mark signals as virtual to make it possible to override default
	method handlers

	* vapi/atk.vapi:
	* vapi/gconf-2.0.vapi:
	* vapi/gdk-2.0.vapi:
	* vapi/gdk-pixbuf-2.0.vapi:
	* vapi/gio-2.0.vapi:
	* vapi/gio-unix-2.0.vapi:
	* vapi/gnome-desktop-2.0.vapi:
	* vapi/gnome-vfs-2.0.vapi:
	* vapi/goocanvas.vapi:
	* vapi/gstreamer-0.10.vapi:
	* vapi/gstreamer-base-0.10.vapi:
	* vapi/gstreamer-interfaces-0.10.vapi:
	* vapi/gstreamer-rtsp-0.10.vapi:
	* vapi/gtk+-2.0.vapi:
	* vapi/gtksourceview-2.0.vapi:
	* vapi/hildon-1.vapi:
	* vapi/hildon-fm-2.vapi:
	* vapi/json-glib-1.0.vapi:
	* vapi/libgnomeui-2.0.vapi:
	* vapi/libnotify.vapi:
	* vapi/liboobs-1.vapi:
	* vapi/libsexy.vapi:
	* vapi/libsoup-2.2.vapi:
	* vapi/libsoup-2.4.vapi:
	* vapi/libwnck-1.0.vapi:
	* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
	* vapi/vte.vapi:
	* vapi/webkit-1.0.vapi:

	Regenerated

svn path=/trunk/; revision=1475
parent 09067db0
2008-05-29 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:
Mark signals as virtual to make it possible to override default
method handlers
* vapi/atk.vapi:
* vapi/gconf-2.0.vapi:
* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gnome-desktop-2.0.vapi:
* vapi/gnome-vfs-2.0.vapi:
* vapi/goocanvas.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-base-0.10.vapi:
* vapi/gstreamer-interfaces-0.10.vapi:
* vapi/gstreamer-rtsp-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/hildon-fm-2.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/liboobs-1.vapi:
* vapi/libsexy.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/libwnck-1.0.vapi:
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
* vapi/vte.vapi:
* vapi/webkit-1.0.vapi:
Regenerated
2008-05-29 Jürg Billeter <j@bitron.ch>
* vala/valamethod.vala:
......
......@@ -798,6 +798,11 @@ public class Vala.InterfaceWriter : CodeVisitor {
write_indent ();
write_accessibility (sig);
if (sig.is_virtual) {
write_string ("virtual ");
}
write_string ("signal ");
write_return_type (sig.return_type);
......
......@@ -308,7 +308,7 @@ namespace Atk {
[NoAccessorMethod]
public bool selected_link { get; }
public int start_index { get; }
public signal void link_activated ();
public virtual signal void link_activated ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class Misc : GLib.Object {
......@@ -387,12 +387,12 @@ namespace Atk {
public Atk.Object accessible_table_summary { get; set; }
[NoAccessorMethod]
public double accessible_value { get; set; }
public signal void active_descendant_changed (void* child);
public signal void children_changed (uint change_index, void* changed_child);
public signal void focus_event (bool focus_in);
public signal void property_change (void* values);
public signal void state_change (string name, bool state_set);
public signal void visible_data_changed ();
public virtual signal void active_descendant_changed (void* child);
public virtual signal void children_changed (uint change_index, void* changed_child);
public virtual signal void focus_event (bool focus_in);
public virtual signal void property_change (void* values);
public virtual signal void state_change (string name, bool state_set);
public virtual signal void visible_data_changed ();
}
[CCode (cheader_filename = "atk/atk.h")]
public class ObjectFactory : GLib.Object {
......@@ -492,7 +492,7 @@ namespace Atk {
public abstract bool set_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
public abstract bool set_position (int x, int y, Atk.CoordType coord_type);
public abstract bool set_size (int width, int height);
public signal void bounds_changed (Atk.Rectangle bounds);
public virtual signal void bounds_changed (Atk.Rectangle bounds);
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Document {
......@@ -510,9 +510,9 @@ namespace Atk {
public abstract weak string get_document_type ();
[NoWrapper]
public abstract bool set_document_attribute (string attribute_name, string attribute_value);
public signal void load_complete ();
public signal void load_stopped ();
public signal void reload ();
public virtual signal void load_complete ();
public virtual signal void load_stopped ();
public virtual signal void reload ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface EditableText {
......@@ -533,7 +533,7 @@ namespace Atk {
public abstract weak Atk.Hyperlink get_link (int link_index);
public abstract int get_link_index (int char_index);
public abstract int get_n_links ();
public signal void link_selected (int link_index);
public virtual signal void link_selected (int link_index);
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Image {
......@@ -556,7 +556,7 @@ namespace Atk {
public abstract weak Atk.Object ref_selection (int i);
public abstract bool remove_selection (int i);
public abstract bool select_all_selection ();
public signal void selection_changed ();
public virtual signal void selection_changed ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface StreamableContent {
......@@ -596,13 +596,13 @@ namespace Atk {
public abstract void set_row_description (int row, string description);
public abstract void set_row_header (int row, Atk.Object header);
public abstract void set_summary (Atk.Object accessible);
public signal void column_deleted (int column, int num_deleted);
public signal void column_inserted (int column, int num_inserted);
public signal void column_reordered ();
public signal void model_changed ();
public signal void row_deleted (int row, int num_deleted);
public signal void row_inserted (int row, int num_inserted);
public signal void row_reordered ();
public virtual signal void column_deleted (int column, int num_deleted);
public virtual signal void column_inserted (int column, int num_inserted);
public virtual signal void column_reordered ();
public virtual signal void model_changed ();
public virtual signal void row_deleted (int row, int num_deleted);
public virtual signal void row_inserted (int row, int num_inserted);
public virtual signal void row_reordered ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Text {
......@@ -630,10 +630,10 @@ namespace Atk {
public abstract bool remove_selection (int selection_num);
public abstract bool set_caret_offset (int offset);
public abstract bool set_selection (int selection_num, int start_offset, int end_offset);
public signal void text_attributes_changed ();
public signal void text_caret_moved (int location);
public signal void text_changed (int position, int length);
public signal void text_selection_changed ();
public virtual signal void text_attributes_changed ();
public virtual signal void text_caret_moved (int location);
public virtual signal void text_changed (int position, int length);
public virtual signal void text_selection_changed ();
}
[CCode (cheader_filename = "atk/atk.h")]
public interface Value {
......
......@@ -279,11 +279,11 @@ namespace GConf {
public void suggest_sync () throws GLib.Error;
public bool unset (string key) throws GLib.Error;
[HasEmitter]
public signal void error (void* error);
public virtual signal void error (void* error);
[HasEmitter]
public signal void unreturned_error (void* error);
public virtual signal void unreturned_error (void* error);
[HasEmitter]
public signal void value_changed (string key, void* value);
public virtual signal void value_changed (string key, void* value);
}
[CCode (cheader_filename = "gconf/gconf.h")]
public delegate void ChangeSetForeachFunc (GConf.ChangeSet cs, string key, GConf.Value value);
......
......@@ -825,7 +825,7 @@ namespace Gdk {
public virtual weak string get_display_name ();
public virtual int get_n_screens ();
public virtual weak Gdk.Screen get_screen (int screen_num);
public signal void closed (bool is_error);
public virtual signal void closed (bool is_error);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class DisplayManager : GLib.Object {
......@@ -834,7 +834,7 @@ namespace Gdk {
public weak GLib.SList list_displays ();
public void set_default_display (Gdk.Display display);
public Gdk.Display default_display { get; set; }
public signal void display_opened (Gdk.Display display);
public virtual signal void display_opened (Gdk.Display display);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class DragContext : GLib.Object {
......@@ -963,8 +963,8 @@ namespace Gdk {
public bool have_bidi_layouts ();
public uint lookup_key (Gdk.KeymapKey key);
public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers);
public signal void direction_changed ();
public signal void keys_changed ();
public virtual signal void direction_changed ();
public virtual signal void keys_changed ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class PangoRenderer : Pango.Renderer {
......@@ -1036,8 +1036,8 @@ namespace Gdk {
public static int width_mm ();
public void* font_options { get; set; }
public double resolution { get; set; }
public signal void composited_changed ();
public signal void size_changed ();
public virtual signal void composited_changed ();
public virtual signal void size_changed ();
}
[CCode (cheader_filename = "gdk/gdk.h")]
public class Visual : GLib.Object {
......
......@@ -159,10 +159,10 @@ namespace Gdk {
public PixbufLoader.with_type (string image_type) throws GLib.Error;
public void set_size (int width, int height);
public bool write (uchar[] buf) throws GLib.Error;
public signal void area_prepared ();
public signal void area_updated (int x, int y, int width, int height);
public signal void closed ();
public signal void size_prepared (int width, int height);
public virtual signal void area_prepared ();
public virtual signal void area_updated (int x, int y, int width, int height);
public virtual signal void closed ();
public virtual signal void size_prepared (int width, int height);
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
public class PixbufSimpleAnim : Gdk.PixbufAnimation {
......
......@@ -287,7 +287,7 @@ namespace GLib {
public void push_current ();
public void reset ();
public bool set_error_if_cancelled () throws GLib.Error;
public signal void cancelled ();
public virtual signal void cancelled ();
}
[CCode (cheader_filename = "gio/gio.h")]
public class DataInputStream : GLib.BufferedInputStream {
......@@ -425,7 +425,7 @@ namespace GLib {
public bool cancelled { get; }
[NoAccessorMethod]
public int rate_limit { get; set; }
public signal void changed (GLib.File file, GLib.File? other_file, GLib.FileMonitorEvent event_type);
public virtual signal void changed (GLib.File file, GLib.File? other_file, GLib.FileMonitorEvent event_type);
}
[CCode (cheader_filename = "gio/gio.h")]
public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
......@@ -450,7 +450,7 @@ namespace GLib {
public weak string get_completions (string initial_text);
public FilenameCompleter ();
public void set_dirs_only (bool dirs_only);
public signal void got_completion_data ();
public virtual signal void got_completion_data ();
}
[CCode (cheader_filename = "gio/gio.h")]
public class FilterInputStream : GLib.InputStream {
......@@ -524,10 +524,10 @@ namespace GLib {
public string password { get; set; }
public GLib.PasswordSave password_save { get; set; }
public string username { get; set; }
public signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
public signal void ask_question (string message, string[] choices);
public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
public virtual signal void ask_question (string message, string[] choices);
[HasEmitter]
public signal void reply (GLib.MountOperationResult result);
public virtual signal void reply (GLib.MountOperationResult result);
}
[CCode (cheader_filename = "gio/gio.h")]
public class NativeVolumeMonitor : GLib.VolumeMonitor {
......@@ -614,16 +614,16 @@ namespace GLib {
public virtual weak GLib.List get_volumes ();
[NoWrapper]
public virtual bool is_supported ();
public signal void drive_changed (GLib.Drive drive);
public signal void drive_connected (GLib.Drive drive);
public signal void drive_disconnected (GLib.Drive drive);
public signal void mount_added (GLib.Mount mount);
public signal void mount_changed (GLib.Mount mount);
public signal void mount_pre_unmount (GLib.Mount mount);
public signal void mount_removed (GLib.Mount mount);
public signal void volume_added (GLib.Volume volume);
public signal void volume_changed (GLib.Volume volume);
public signal void volume_removed (GLib.Volume volume);
public virtual signal void drive_changed (GLib.Drive drive);
public virtual signal void drive_connected (GLib.Drive drive);
public virtual signal void drive_disconnected (GLib.Drive drive);
public virtual signal void mount_added (GLib.Mount mount);
public virtual signal void mount_changed (GLib.Mount mount);
public virtual signal void mount_pre_unmount (GLib.Mount mount);
public virtual signal void mount_removed (GLib.Mount mount);
public virtual signal void volume_added (GLib.Volume volume);
public virtual signal void volume_changed (GLib.Volume volume);
public virtual signal void volume_removed (GLib.Volume volume);
}
[CCode (cheader_filename = "gio/gio.h")]
public interface AppInfo : GLib.Object {
......@@ -673,9 +673,9 @@ namespace GLib {
public abstract bool is_media_removable ();
public abstract void poll_for_media (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
public abstract bool poll_for_media_finish (GLib.AsyncResult _result) throws GLib.Error;
public signal void changed ();
public signal void disconnected ();
public signal void eject_button ();
public virtual signal void changed ();
public virtual signal void disconnected ();
public virtual signal void eject_button ();
}
[CCode (cheader_filename = "gio/gio.h")]
public interface File : GLib.Object {
......@@ -803,8 +803,8 @@ namespace GLib {
public abstract bool remount_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract void unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
public abstract bool unmount_finish (GLib.AsyncResult _result) throws GLib.Error;
public signal void changed ();
public signal void unmounted ();
public virtual signal void changed ();
public virtual signal void unmounted ();
}
[CCode (cheader_filename = "gio/gio.h")]
public interface Seekable : GLib.Object {
......@@ -834,8 +834,8 @@ namespace GLib {
[NoWrapper]
public abstract void mount_fn (GLib.MountMountFlags flags, GLib.MountOperation mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
public abstract bool should_automount ();
public signal void changed ();
public signal void removed ();
public virtual signal void changed ();
public virtual signal void removed ();
}
[CCode (cheader_filename = "gio/gio.h")]
public delegate void AsyncReadyCallback (GLib.Object source_object, GLib.AsyncResult res);
......
......@@ -38,8 +38,8 @@ namespace GLib {
[CCode (cheader_filename = "gio/gunixmounts.h")]
public class UnixMountMonitor : GLib.Object {
public UnixMountMonitor ();
public signal void mountpoints_changed ();
public signal void mounts_changed ();
public virtual signal void mountpoints_changed ();
public virtual signal void mounts_changed ();
}
[CCode (cheader_filename = "gio/gunixoutputstream.h")]
public class UnixOutputStream : GLib.OutputStream {
......
......@@ -102,9 +102,9 @@ namespace Gnome {
public void set_ditem (Gnome.DesktopItem ditem);
public void set_editable (bool editable);
public void set_entry_type (string type);
public signal void changed ();
public signal void icon_changed ();
public signal void name_changed ();
public virtual signal void changed ();
public virtual signal void icon_changed ();
public virtual signal void name_changed ();
}
[CCode (cheader_filename = "libgnomeui/gnome-hint.h")]
public class Hint : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
......
......@@ -854,14 +854,14 @@ namespace GnomeVFS {
public void unmount (GnomeVFS.VolumeOpCallback callback);
public void unref ();
public static void volume_list_free (GLib.List volumes);
public signal void volume_mounted (GnomeVFS.Volume volume);
public signal void volume_pre_unmount (GnomeVFS.Volume volume);
public signal void volume_unmounted (GnomeVFS.Volume volume);
public virtual signal void volume_mounted (GnomeVFS.Volume volume);
public virtual signal void volume_pre_unmount (GnomeVFS.Volume volume);
public virtual signal void volume_unmounted (GnomeVFS.Volume volume);
}
[CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
public class MIMEMonitor : GLib.Object {
public static weak GnomeVFS.MIMEMonitor get ();
public signal void data_changed ();
public virtual signal void data_changed ();
}
[CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
public class Volume : GLib.Object {
......@@ -894,11 +894,11 @@ namespace GnomeVFS {
public weak GnomeVFS.Volume get_volume_for_path (string path);
public weak GnomeVFS.VolumeMonitor @ref ();
public void unref ();
public signal void drive_connected (GnomeVFS.Drive drive);
public signal void drive_disconnected (GnomeVFS.Drive drive);
public signal void volume_mounted (GnomeVFS.Volume volume);
public signal void volume_pre_unmount (GnomeVFS.Volume volume);
public signal void volume_unmounted (GnomeVFS.Volume volume);
public virtual signal void drive_connected (GnomeVFS.Drive drive);
public virtual signal void drive_disconnected (GnomeVFS.Drive drive);
public virtual signal void volume_mounted (GnomeVFS.Volume volume);
public virtual signal void volume_pre_unmount (GnomeVFS.Volume volume);
public virtual signal void volume_unmounted (GnomeVFS.Volume volume);
}
[CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
public static delegate void AsyncCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* callback_data);
......
......@@ -347,8 +347,8 @@ namespace Goo {
public double y1 { get; set; }
[NoAccessorMethod]
public double y2 { get; set; }
public signal void item_created (Goo.CanvasItem item, Goo.CanvasItemModel model);
public signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
public virtual signal void item_created (Goo.CanvasItem item, Goo.CanvasItemModel model);
public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
}
[CCode (cheader_filename = "goocanvas.h")]
public class CanvasEllipse : Goo.CanvasItemSimple, Goo.CanvasItem {
......@@ -804,17 +804,17 @@ namespace Goo {
public Goo.CairoMatrix transform { get; set; }
public Goo.CanvasItemVisibility visibility { get; set; }
public double visibility_threshold { get; set; }
public signal bool button_press_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool button_release_event (Goo.CanvasItem target, Gdk.Event event);
public signal void child_notify (GLib.ParamSpec pspec);
public signal bool enter_notify_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool focus_in_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool focus_out_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool grab_broken_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool key_press_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool key_release_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool leave_notify_event (Goo.CanvasItem target, Gdk.Event event);
public signal bool motion_notify_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool button_press_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool button_release_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal void child_notify (GLib.ParamSpec pspec);
public virtual signal bool enter_notify_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool focus_in_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool focus_out_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool grab_broken_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool key_press_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool key_release_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool leave_notify_event (Goo.CanvasItem target, Gdk.Event event);
public virtual signal bool motion_notify_event (Goo.CanvasItem target, Gdk.Event event);
}
[CCode (cheader_filename = "goocanvas.h")]
public interface CanvasItemModel : GLib.Object {
......@@ -863,11 +863,11 @@ namespace Goo {
public Goo.CairoMatrix transform { get; set; }
public Goo.CanvasItemVisibility visibility { get; set; }
public double visibility_threshold { get; set; }
public signal void changed (bool recompute_bounds);
public signal void child_added (int child_num);
public signal void child_moved (int old_child_num, int new_child_num);
public signal void child_notify (GLib.ParamSpec pspec);
public signal void child_removed (int child_num);
public virtual signal void changed (bool recompute_bounds);
public virtual signal void child_added (int child_num);
public virtual signal void child_moved (int old_child_num, int new_child_num);
public virtual signal void child_notify (GLib.ParamSpec pspec);
public virtual signal void child_removed (int child_num);
}
public const int NUM_ARROW_POINTS;
}
......@@ -1120,8 +1120,8 @@ namespace Gst {
public virtual bool remove_element (Gst.Element element);
[NoAccessorMethod]
public bool async_handling { get; set; }
public signal void element_added (Gst.Element child);
public signal void element_removed (Gst.Element child);
public virtual signal void element_added (Gst.Element child);
public virtual signal void element_removed (Gst.Element child);
}
[CCode (cheader_filename = "gst/gst.h")]
public class Bus : Gst.Object {
......@@ -1152,8 +1152,8 @@ namespace Gst {
public Gst.BusSyncReply sync_signal_handler (Gst.Message message, void* data);
public weak Gst.Message timed_pop (Gst.ClockTime timeout);
public weak Gst.Message timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
public signal void message (Gst.Message message);
public signal void sync_message (Gst.Message message);
public virtual signal void message (Gst.Message message);
public virtual signal void sync_message (Gst.Message message);
}
[CCode (cheader_filename = "gst/gst.h")]
public class Clock : Gst.Object {
......@@ -1299,9 +1299,9 @@ namespace Gst {
public virtual void set_index (Gst.Index index);
public virtual Gst.StateChangeReturn set_state (Gst.State state);
[HasEmitter]
public signal void no_more_pads ();
public signal void pad_added (Gst.Pad pad);
public signal void pad_removed (Gst.Pad pad);
public virtual signal void no_more_pads ();
public virtual signal void pad_added (Gst.Pad pad);
public virtual signal void pad_removed (Gst.Pad pad);
}
[CCode (cheader_filename = "gst/gst.h")]
public class ElementFactory : Gst.PluginFeature {
......@@ -1373,7 +1373,7 @@ namespace Gst {
public virtual bool get_writer_id (Gst.Object writer, int id);
[NoAccessorMethod]
public Gst.IndexResolver resolver { get; set; }
public signal void entry_added (Gst.IndexEntry entry);
public virtual signal void entry_added (Gst.IndexEntry entry);
}
[CCode (cheader_filename = "gst/gst.h")]
public class IndexFactory : Gst.PluginFeature {
......@@ -1411,10 +1411,10 @@ namespace Gst {
public virtual void restore_thyself (void* self);
public virtual void* save_thyself (void* parent);
public string name { get; set construct; }
public signal void deep_notify (Gst.Object orig, GLib.ParamSpec pspec);
public signal void object_saved (void* parent);
public signal void parent_set (Gst.Object parent);
public signal void parent_unset (Gst.Object parent);
public virtual signal void deep_notify (Gst.Object orig, GLib.ParamSpec pspec);
public virtual signal void object_saved (void* parent);
public virtual signal void parent_set (Gst.Object parent);
public virtual signal void parent_unset (Gst.Object parent);
}
[CCode (cheader_filename = "gst/gst.h")]
public class Pad : Gst.Object {
......@@ -1540,10 +1540,10 @@ namespace Gst {
public Gst.PadDirection direction { get; construct; }
[NoAccessorMethod]
public Gst.PadTemplate template { get; set; }
public signal bool have_data (Gst.MiniObject data);
public signal void linked (Gst.Pad peer);
public signal void request_link ();
public signal void unlinked (Gst.Pad peer);
public virtual signal bool have_data (Gst.MiniObject data);
public virtual signal void linked (Gst.Pad peer);
public virtual signal void request_link ();
public virtual signal void unlinked (Gst.Pad peer);
}
[CCode (cheader_filename = "gst/gst.h")]
public class PadTemplate : Gst.Object {
......@@ -1554,7 +1554,7 @@ namespace Gst {
public weak Gst.Caps get_caps ();
public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, Gst.Caps caps);
[HasEmitter]
public signal void pad_created (Gst.Pad pad);
public virtual signal void pad_created (Gst.Pad pad);
}
[CCode (cheader_filename = "gst/gst.h")]
public class Pipeline : Gst.Bin, Gst.ChildProxy {
......@@ -1647,8 +1647,8 @@ namespace Gst {
public bool scan_path (string path);
public bool xml_read_cache (string location);
public bool xml_write_cache (string location);
public signal void feature_added (void* feature);
public signal void plugin_added (void* plugin);
public virtual signal void feature_added (void* feature);
public virtual signal void plugin_added (void* plugin);
}
[CCode (cheader_filename = "gst/gst.h")]
public class SystemClock : Gst.Clock {
......@@ -1705,7 +1705,7 @@ namespace Gst {
public static int write_file (Gst.Element element, GLib.FileStream @out);
[NoWrapper]
public virtual void object_saved (Gst.Object object, void* self);
public signal void object_loaded (Gst.Object object, void* self);
public virtual signal void object_loaded (Gst.Object object, void* self);
}
[CCode (cheader_filename = "gst/gst.h")]
public interface ChildProxy : Gst.Object {
......@@ -1720,9 +1720,9 @@ namespace Gst {
public abstract weak Gst.Object get_child_by_index (uint index);
public abstract uint get_children_count ();
[HasEmitter]
public signal void child_added (GLib.Object child);
public virtual signal void child_added (GLib.Object child);
[HasEmitter]
public signal void child_removed (GLib.Object child);
public virtual signal void child_removed (GLib.Object child);
}
[CCode (cheader_filename = "gst/gst.h")]
public interface ImplementsInterface : Gst.Element {
......@@ -1744,7 +1744,7 @@ namespace Gst {
public abstract weak string get_uri ();
public abstract bool set_uri (string uri);
[HasEmitter]
public signal void new_uri (string uri);
public virtual signal void new_uri (string uri);
}
[CCode (cheader_filename = "gst/gst.h")]
[SimpleType]
......
......@@ -309,8 +309,8 @@ namespace Gst {
public uint64 current_level_time { get; }
[NoAccessorMethod]
public uint current_level_visible { get; }
public signal void empty ();
public signal void full ();
public virtual signal void empty ();
public virtual signal void full ();
}
[CCode (cheader_filename = "gst/base/gstpushsrc.h")]
public class PushSrc : Gst.BaseSrc {
......
......@@ -49,7 +49,7 @@ namespace Gst {
public weak string label;
public int min_value;
public int max_value;
public signal void value_changed (int value);
public virtual signal void value_changed (int value);
}
[CCode (cheader_filename = "gst/interfaces/mixer.h")]
public class MixerOptions : Gst.MixerTrack {
......@@ -81,8 +81,8 @@ namespace Gst {
public int min_signal;
public int max_signal;
public static void changed (Gst.Tuner tuner, Gst.TunerChannel channel);
public signal void frequency_changed (ulong frequency);
public signal void signal_changed (int @signal);
public virtual signal void frequency_changed (ulong frequency);
public virtual signal void signal_changed (int @signal);
}
[CCode (cheader_filename = "gst/interfaces/tuner.h")]
public class TunerNorm : GLib.Object {
......@@ -96,7 +96,7 @@ namespace Gst {
public abstract weak GLib.List list_channels ();
public abstract void set_value (Gst.ColorBalanceChannel channel, int value);
[HasEmitter]
public signal void value_changed (Gst.ColorBalanceChannel channel, int value);
public virtual signal void value_changed (Gst.ColorBalanceChannel channel, int value);
}
[CCode (cheader_filename = "gst/interfaces/mixer.h")]
public interface Mixer : Gst.ImplementsInterface, Gst.Element {
......@@ -114,13 +114,13 @@ namespace Gst {
public abstract void set_record (Gst.MixerTrack track, bool record);
public abstract void set_volume (Gst.MixerTrack track, int volumes);
[HasEmitter]
public signal void mute_toggled (Gst.MixerTrack channel, bool mute);
public virtual signal void mute_toggled (Gst.MixerTrack channel, bool mute);
[HasEmitter]
public signal void option_changed (Gst.MixerOptions opts, string option);
public virtual signal void option_changed (Gst.MixerOptions opts, string option);
[HasEmitter]
public signal void record_toggled (Gst.MixerTrack channel, bool record);
public virtual signal void record_toggled (Gst.MixerTrack channel, bool record);
[HasEmitter]
public signal void volume_changed (Gst.MixerTrack channel, void* volumes);
public virtual signal void volume_changed (Gst.MixerTrack channel, void* volumes);
}
[CCode (cheader_filename = "gst/interfaces/navigation.h")]
public interface Navigation {
......@@ -140,7 +140,7 @@ namespace Gst {
public abstract GLib.ValueArray get_values (GLib.ParamSpec pspec);
public abstract bool needs_probe (GLib.ParamSpec pspec);
public abstract void probe_property (GLib.ParamSpec pspec);
public signal void probe_needed (void* pspec);
public virtual signal void probe_needed (void* pspec);
}
[CCode (cheader_filename = "gst/interfaces/tunerchannel.h")]
public interface Tuner : Gst.ImplementsInterface, Gst.Element {
......@@ -155,12 +155,12 @@ namespace Gst {
public abstract void set_frequency (Gst.TunerChannel channel, ulong frequency);
public abstract void set_norm (Gst.TunerNorm norm);
public abstract int signal_strength (Gst.TunerChannel channel);
public signal void channel_changed (Gst.TunerChannel channel);
public virtual signal void channel_changed (Gst.TunerChannel channel);
[HasEmitter]
public signal void frequency_changed (Gst.TunerChannel channel, ulong frequency);
public signal void norm_changed (Gst.TunerNorm norm);
public virtual signal void frequency_changed (Gst.TunerChannel channel, ulong frequency);
public virtual signal void norm_changed (Gst.TunerNorm norm);
[HasEmitter]
public signal void signal_changed (Gst.TunerChannel channel, int @signal);
public virtual signal void signal_changed (Gst.TunerChannel channel, int @signal);
}
[CCode (cheader_filename = "gst/interfaces/videoorientation.h")]
public interface VideoOrientation : Gst.ImplementsInterface, Gst.Element {
......
......@@ -345,7 +345,7 @@ namespace Gst {
public abstract Gst.RTSPResult setup_media (Gst.SDPMedia media);
public abstract Gst.RTSPResult stream_select (Gst.RTSPUrl url);
[HasEmitter]
public signal Gst.RTSPResult send (void* req, void* resp);
public virtual signal Gst.RTSPResult send (void* req, void* resp);
}
public const int RTSP_DEFAULT_PORT;
[CCode (cheader_filename = "gst/gst.h")]
......
This diff is collapsed.
......@@ -50,7 +50,7 @@ namespace Gtk {
public Gtk.SourceLanguage language { get; set; }
public int max_undo_levels { get; set; }
public Gtk.SourceStyleScheme style_scheme { get; set; }
public signal void source_mark_updated (Gtk.TextMark p0);
public virtual signal void source_mark_updated (Gtk.TextMark p0);
}
[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
public class SourceLanguage : GLib.Object {
......@@ -242,8 +242,8 @@ namespace Gtk {
public bool show_right_margin { get; set; }
public Gtk.SourceSmartHomeEndType smart_home_end { get; set; }
public uint tab_width { get; set; }
public signal void redo ();
public signal void undo ();
public virtual signal void redo ();
public virtual signal void undo ();
}
[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
public static bool source_iter_backward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, Gtk.TextIter match_start, Gtk.TextIter match_end, Gtk.TextIter limit);
......
......@@ -103,8 +103,8 @@ namespace Hildon {
public void push (Hildon.BreadCrumb item, void* id, GLib.DestroyNotify notify);
public void push_icon (string text, Gtk.Widget icon, void* id, GLib.DestroyNotify destroy);
public void push_text (string text, void* id, GLib.DestroyNotify notify);
public signal bool crumb_clicked (void* id);
public signal void move_parent ();
public virtual signal bool crumb_clicked (void* id);
public virtual signal void move_parent ();
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
......@@ -158,15 +158,15 @@ namespace Hildon {
public int week_start { get; set; }
[NoAccessorMethod]
public int year { get; set; }
public signal void day_selected ();
public signal void day_selected_double_click ();
public signal void erroneous_date ();
public signal void month_changed ();
public signal void next_month ();
public signal void next_year ();
public signal void prev_month ();
public signal void prev_year ();
public signal void selected_date ();
public virtual signal void day_selected ();
public virtual signal void day_selected_double_click ();
public virtual signal void erroneous_date ();
public virtual signal void month_changed ();
public virtual signal void next_month ();
public virtual signal void next_year ();
public virtual signal void prev_month ();
public virtual signal void prev_year ();
public virtual signal void selected_date ();
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class CalendarPopup : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
......@@ -214,7 +214,7 @@ namespace Hildon {
public string separator { get; set; }
public Gtk.SizeGroup size_group { get; set; }
public Hildon.CaptionStatus status { get; set; }
public signal void activate ();
public virtual signal void activate ();
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class CodeDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
......@@ -223,7 +223,7 @@ namespace Hildon {
public CodeDialog ();
public void set_help_text (string text);
public void set_input_sensitive (bool sensitive);
public signal void input ();
public virtual signal void input ();
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable {
......@@ -242,7 +242,7 @@ namespace Hildon {
public ColorChooser ();
public virtual void set_color (Gdk.Color color);
public Gdk.Color color { get; set; }
public signal void color_changed ();
public virtual signal void color_changed ();
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
......@@ -263,7 +263,7 @@ namespace Hildon {
public int max { get; set; }
public int min { get; set; }
public int value { get; set; }
public signal void end_reached (bool end);
public virtual signal void end_reached (bool end);
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class DateEditor : Gtk.Container, Atk.Implementor, Gtk.Buildable {
......@@ -283,7 +283,7 @@ namespace Hildon {
public uint min_year { get; set; }
public uint month { get; set; }
public uint year { get; set; }
public signal bool date_error (Hildon.DateTimeError type);
public virtual signal bool date_error (Hildon.DateTimeError type);
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class FindToolbar : Gtk.Toolbar, Atk.Implementor, Gtk.Buildable {
......@@ -307,10 +307,10 @@ namespace Hildon {
public int max_characters { get; set construct; }
[NoAccessorMethod]
public string prefix { get; set; }
public signal void close ();
public signal bool history_append ();
public signal void invalid_input ();
public signal void search ();
public virtual signal void close ();
public virtual signal bool history_append ();
public virtual signal void invalid_input ();
public virtual signal void search ();
}
[CCode (cheader_filename = "hildon/hildon.h")]
public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
......@@ -418,7 +418,7 @@ namespace Hildon {
public void set_range (int min, int max);
public void set_value (int value);
public int value { get; set; }
public signal bool range_error (Hildon.NumberEditorErrorType type);