updated copyright in source files
[geeqie.git] / src / bar_exif.h
1 /*
2  * Geeqie
3  * (C) 2004 John Ellis
4  * Copyright (C) 2008 The Geeqie Team
5  *
6  * Author: John Ellis
7  *
8  * This software is released under the GNU General Public License (GNU GPL).
9  * Please read the included file COPYING for more information.
10  * This software comes with no warranty of any kind, use at your own risk!
11  */
12
13
14 #ifndef BAR_EXIF_H
15 #define BAR_EXIF_H
16
17 #define EXIF_UI_OFF     0
18 #define EXIF_UI_IFSET   1
19 #define EXIF_UI_ON      2
20
21 typedef struct _ExifUI ExifUI;
22 struct _ExifUI {
23         gint         current;
24         gint         temp;
25         gint         default_value;
26         const gchar *key;
27 };
28 extern ExifUI ExifUIList[];
29
30
31 GtkWidget *bar_exif_new(gint show_title, FileData *fd, gint advanced, GtkWidget *bounding_widget);
32 void bar_exif_close(GtkWidget *bar);
33
34 void bar_exif_set(GtkWidget *bar, FileData *fd);
35
36 gint bar_exif_is_advanced(GtkWidget *bar);
37
38
39 /* these are exposed for when duplication of the exif bar's text is needed */
40
41 const gchar **bar_exif_key_list;
42 const gint bar_exif_key_count;
43
44 gchar *bar_exif_validate_text(gchar *text);
45
46
47 #endif