1 /*
2  * biji-notebook.h
3  *
4  * Copyright (C) Pierre-Yves LUYTEN 2013 <py@luyten.fr>
5  *
6  * bijiben is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * bijiben is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  * See the GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 
21 #pragma once
22 
23 #include "biji-item.h"
24 
25 G_BEGIN_DECLS
26 
27 #define BIJI_TYPE_NOTEBOOK (biji_notebook_get_type ())
28 
29 G_DECLARE_FINAL_TYPE (BijiNotebook, biji_notebook, BIJI, NOTEBOOK, BijiItem)
30 
31 /* Exiting coll in tracker : provide urn & iso8601 date
32  * To create a brand new notebook in tracker rather gobjectize existing one,
33  * see biji_create_new_notebook_async */
34 BijiNotebook * biji_notebook_new (GObject *manager, gchar *urn, gchar *name, gint64 mtime);
35 
36 
37 /* Watching for tracker would be best. Right now manually called. */
38 void             biji_notebook_refresh (BijiNotebook *collection);
39 
40 G_END_DECLS
41