Add basic KatzeItem and meta data accessors to katze.vapi

This commit is contained in:
André Stösel 2012-06-07 23:13:54 +02:00 committed by Christian Dywan
parent eafbc37f0b
commit 8e3d770e09
2 changed files with 7 additions and 1 deletions

View file

@ -7,5 +7,11 @@ namespace Katze {
public Array (GLib.Type type); public Array (GLib.Type type);
public void add_item (GLib.Object item); public void add_item (GLib.Object item);
} }
public class Item : GLib.Object {
public bool get_meta_boolean (string key);
public int64 get_meta_integer (string key);
public void set_meta_integer (string key, int64 value);
}
} }

View file

@ -142,7 +142,7 @@ namespace Midori {
public Gtk.Menu get_tab_menu (); public Gtk.Menu get_tab_menu ();
public Pango.EllipsizeMode get_label_ellipsize (); public Pango.EllipsizeMode get_label_ellipsize ();
public Gtk.Label get_proxy_tab_label (); public Gtk.Label get_proxy_tab_label ();
public GLib.Object get_proxy_item (); public Katze.Item get_proxy_item ();
public bool can_view_source (); public bool can_view_source ();
public bool can_find (); public bool can_find ();
public void search_text (string text, bool case_sensitive, bool forward); public void search_text (string text, bool case_sensitive, bool forward);