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