]> www.fi.muni.cz Git - evince.git/blob - shell/ev-metadata-manager.h
97abb3ec4ad15649b96675a697b92cfa768a5059
[evince.git] / shell / ev-metadata-manager.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * ev-metadata-manager.h
4  *
5  * Copyright (C) 2003  Paolo Maggi 
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, 
20  * Boston, MA 02111-1307, USA. 
21  */
22  
23 #ifndef __EV_METADATA_MANAGER_H__
24 #define __EV_METADATA_MANAGER_H__
25
26 #include <glib.h>
27 #include <glib-object.h>
28
29 G_BEGIN_DECLS
30
31 void            ev_metadata_manager_init        (void);
32 gboolean        ev_metadata_manager_get         (const gchar  *uri,
33                                                  const gchar  *key,
34                                                  GValue       *value);
35 void            ev_metadata_manager_set         (const gchar  *uri,
36                                                  const gchar  *key,
37                                                  const GValue *value);
38 void            ev_metadata_manager_set_int     (const gchar  *uri,
39                                                  const gchar  *key,
40                                                  int           value);
41 void            ev_metadata_manager_set_double  (const gchar  *uri,
42                                                  const gchar  *key,
43                                                  double        value);
44 void            ev_metadata_manager_set_string  (const gchar  *uri,
45                                                  const gchar  *key,
46                                                  const gchar  *value);
47 void            ev_metadata_manager_set_boolean (const gchar  *uri,
48                                                  const gchar  *key,
49                                                  gboolean      value);
50 void            ev_metadata_manager_shutdown    (void);
51
52 G_END_DECLS
53
54 #endif /* __EV_METADATA_MANAGER_H__ */