2012-03-26 17:16:08 +00:00
|
|
|
/* 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 {
|
2012-09-17 16:27:17 +00:00
|
|
|
static string assert_str_equal (string input, string result, string expected);
|
|
|
|
|
|
|
|
[CCode (cheader_filename = "katze/katze.h")]
|
|
|
|
public class Array : Katze.Item {
|
2012-03-26 17:16:08 +00:00
|
|
|
public Array (GLib.Type type);
|
|
|
|
public void add_item (GLib.Object item);
|
|
|
|
}
|
2012-06-07 21:13:54 +00:00
|
|
|
|
2012-09-17 16:27:17 +00:00
|
|
|
[CCode (cheader_filename = "katze/katze.h")]
|
2012-06-07 21:13:54 +00:00
|
|
|
public class Item : GLib.Object {
|
2012-09-17 16:27:17 +00:00
|
|
|
public string? uri { get; set; }
|
|
|
|
public string? name { get; set; }
|
|
|
|
public string? text { get; set; }
|
|
|
|
|
2012-06-07 21:13:54 +00:00
|
|
|
public bool get_meta_boolean (string key);
|
|
|
|
public int64 get_meta_integer (string key);
|
|
|
|
public void set_meta_integer (string key, int64 value);
|
|
|
|
}
|
2012-03-26 17:16:08 +00:00
|
|
|
}
|
|
|
|
|