From: André Stösel Date: Wed, 8 Jun 2011 18:18:09 +0000 (+0200) Subject: Add some missing Midori.Extension functions to VAPI X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa970c076b765c025eca46526fdec1b9c268be98;p=midori Add some missing Midori.Extension functions to VAPI --- diff --git a/midori/midori.vapi b/midori/midori.vapi index bce0b659..e2052c14 100644 --- a/midori/midori.vapi +++ b/midori/midori.vapi @@ -93,6 +93,18 @@ namespace Midori { public Extension (); public unowned Midori.App get_app (); + public void install_boolean (string name, bool default_value); + public void install_integer (string name, int default_value); + public void install_string (string name, string default_value); + + public bool get_boolean (string name); + public int get_integer (string name); + public unowned string get_string (string name); + + public void set_boolean (string name, bool value); + public void set_integer (string name, int value); + public void set_string (string name, string value); + [NoAccessorMethod] public string name { get; set; } [NoAccessorMethod]