From: André Stösel Date: Mon, 26 Mar 2012 17:16:08 +0000 (+0200) Subject: Minimum Katze.Array vapi including add_item signal X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1de28a8a7a0128e27ad95354608482cb2b6f6d34;p=midori Minimum Katze.Array vapi including add_item signal --- diff --git a/extensions/wscript_build b/extensions/wscript_build index e209aed4..3ccf937f 100644 --- a/extensions/wscript_build +++ b/extensions/wscript_build @@ -33,8 +33,8 @@ for extension in extensions: obj.includes = '..' obj.source = source obj.uselib = 'UNIQUE LIBSOUP GIO GTK SQLITE WEBKIT LIBXML HILDON' - obj.vapi_dirs = '../midori' - obj.packages = 'glib-2.0 gio-2.0 libsoup-2.4 midori' + obj.vapi_dirs = '../midori ../katze' + obj.packages = 'glib-2.0 gio-2.0 libsoup-2.4 midori katze' if bld.env['HAVE_GTK3']: obj.packages += ' gtk+-3.0 webkitgtk-3.0' else: diff --git a/katze/katze.vapi b/katze/katze.vapi new file mode 100644 index 00000000..6ba5cfa2 --- /dev/null +++ b/katze/katze.vapi @@ -0,0 +1,11 @@ +/* Copyright (C) 2012 André Stösel + This file is licensed under the terms of the expat license, see the file EXPAT. */ + +[CCode (cprefix = "Katze", lower_case_cprefix = "katze_")] +namespace Katze { + public class Array : GLib.Object { + public Array (GLib.Type type); + public void add_item (GLib.Object item); + } +} +