~ubuntu-branches/ubuntu/intrepid/gwenview/intrepid

« back to all changes in this revision

Viewing changes to libgvexif/exif-entry.h

  • Committer: Bazaar Package Importer
  • Author(s): Christopher Martin
  • Date: 2005-04-06 11:33:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050406113306-7zovl7z0io5bacpd
Tags: 1.2.0-1
* New upstream release.
  + Fixes crashes when using "Back" to navigate. (Closes: #301811)
* Enable KIPI support.
* Add a doc-base file for the handbook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* exif-entry.h
 
2
 *
 
3
 * Copyright � 2001 Lutz M�ller <lutz@users.sourceforge.net>
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Lesser General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2 of the License, or (at your option) any later version.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful, 
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Lesser General Public License for more details. 
 
14
 *
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this library; if not, write to the
 
17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
 * Boston, MA 02111-1307, USA.
 
19
 */
 
20
 
 
21
#ifndef __EXIF_ENTRY_H__
 
22
#define __EXIF_ENTRY_H__
 
23
 
 
24
#ifdef __cplusplus
 
25
extern "C" {
 
26
#endif /* __cplusplus */
 
27
 
 
28
typedef struct _ExifEntry        ExifEntry;
 
29
typedef struct _ExifEntryPrivate ExifEntryPrivate;
 
30
 
 
31
#include <libgvexif/exif-content.h>
 
32
#include <libgvexif/exif-format.h>
 
33
 
 
34
struct _ExifEntry {
 
35
        ExifTag tag;
 
36
        ExifFormat format;
 
37
        unsigned long components;
 
38
 
 
39
        unsigned char *data;
 
40
        unsigned int size;
 
41
 
 
42
        /* Content containing this entry */
 
43
        ExifContent *parent;
 
44
 
 
45
        ExifEntryPrivate *priv;
 
46
};
 
47
 
 
48
/* Lifecycle */
 
49
ExifEntry  *exif_entry_new   (void);
 
50
void        exif_entry_ref   (ExifEntry *entry);
 
51
void        exif_entry_unref (ExifEntry *entry);
 
52
void        exif_entry_free  (ExifEntry *entry);
 
53
 
 
54
void        exif_entry_initialize (ExifEntry *entry, ExifTag tag);
 
55
 
 
56
/* For your convenience */
 
57
const char *exif_entry_get_value       (ExifEntry *entry);
 
58
const char *exif_entry_get_value_brief (ExifEntry *entry);
 
59
 
 
60
void        exif_entry_dump      (ExifEntry *entry, unsigned int indent);
 
61
 
 
62
#ifdef __cplusplus
 
63
}
 
64
#endif /* __cplusplus */
 
65
 
 
66
#endif /* __EXIF_ENTRY_H__ */