~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to shell/ev-metadata-manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-11-05 17:21:47 UTC
  • mto: (1.6.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: james.westby@ubuntu.com-20091105172147-ao0nlfb9368zmyhj
Tags: upstream-2.29.1
ImportĀ upstreamĀ versionĀ 2.29.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
                                                 gboolean      ignore_last);
36
 
void            ev_metadata_manager_set         (const gchar  *uri,
37
 
                                                 const gchar  *key,
38
 
                                                 const GValue *value);
39
 
void            ev_metadata_manager_set_int     (const gchar  *uri,
40
 
                                                 const gchar  *key,
41
 
                                                 int           value);
42
 
void            ev_metadata_manager_set_double  (const gchar  *uri,
43
 
                                                 const gchar  *key,
44
 
                                                 double        value);
45
 
void            ev_metadata_manager_set_string  (const gchar  *uri,
46
 
                                                 const gchar  *key,
47
 
                                                 const gchar  *value);
48
 
void            ev_metadata_manager_set_boolean (const gchar  *uri,
49
 
                                                 const gchar  *key,
50
 
                                                 gboolean      value);
51
 
void            ev_metadata_manager_shutdown    (void);
52
 
 
53
 
G_END_DECLS
54
 
 
55
 
#endif /* __EV_METADATA_MANAGER_H__ */