16
16
#include <sqlite3.h>
17
17
#include <katze/katze.h>
20
midori_bookmarks_new (char** errmsg);
23
midori_bookmarks_on_quit (KatzeArray* array);
26
midori_array_update_item (KatzeArray* bookmarks, KatzeItem* item);
29
midori_bookmarks_import_array (KatzeArray* bookmarks,
34
midori_array_query_recursive (KatzeArray* bookmarks,
36
const gchar* condition,
21
#define TYPE_MIDORI_BOOKMARKS_DB \
22
(midori_bookmarks_db_get_type ())
23
#define MIDORI_BOOKMARKS_DB(obj) \
24
(G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MIDORI_BOOKMARKS_DB, MidoriBookmarksDb))
25
#define MIDORI_BOOKMARKS_DB_CLASS(klass) \
26
(G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MIDORI_BOOKMARKS_DB, MidoriBookmarksDbClass))
27
#define IS_MIDORI_BOOKMARKS_DB(obj) \
28
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MIDORI_BOOKMARKS_DB))
29
#define IS_MIDORI_BOOKMARKS_DB_CLASS(klass) \
30
(G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MIDORI_BOOKMARKS_DB))
31
#define MIDORI_BOOKMARKS_DB_GET_CLASS(obj) \
32
(G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MIDORI_BOOKMARKS_DB, MidoriBookmarksDbClass))
34
typedef struct _MidoriBookmarksDb MidoriBookmarksDb;
35
typedef struct _MidoriBookmarksDbClass MidoriBookmarksDbClass;
38
midori_bookmarks_db_get_type (void) G_GNUC_CONST;
41
midori_bookmarks_db_new (char** errmsg);
44
midori_bookmarks_db_on_quit (MidoriBookmarksDb* array);
47
midori_bookmarks_db_add_item (MidoriBookmarksDb* bookmarks, KatzeItem* item);
50
midori_bookmarks_db_update_item (MidoriBookmarksDb* bookmarks, KatzeItem* item);
53
midori_bookmarks_db_remove_item (MidoriBookmarksDb* bookmarks, KatzeItem* item);
56
midori_bookmarks_db_import_array (MidoriBookmarksDb* bookmarks,
61
midori_bookmarks_db_query_recursive (MidoriBookmarksDb* bookmarks,
63
const gchar* condition,
41
midori_array_count_recursive (KatzeArray* bookmarks,
42
const gchar* condition,
68
midori_bookmarks_db_count_recursive (MidoriBookmarksDb* bookmarks,
69
const gchar* condition,
47
74
#endif /* !__MIDORI_BOOKMARKS_DB_H__ */