Minimum Katze.Array vapi including add_item signal

This commit is contained in:
André Stösel 2012-03-26 19:16:08 +02:00 committed by Christian Dywan
parent ebf2c2d1d9
commit 1de28a8a7a
2 changed files with 13 additions and 2 deletions

View file

@ -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:

11
katze/katze.vapi Normal file
View file

@ -0,0 +1,11 @@
/* Copyright (C) 2012 André Stösel <andre@stoesel.de>
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);
}
}