1 /* gtkam-save.h
2  *
3  * Copyright 2001,2002 Lutz Mueller <lutz@users.sf.net>
4  * Copyright 2005      Andrew Burton <adburton@users.sourceforge.net>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __GTKAM_SAVE_H__
21 #define __GTKAM_SAVE_H__
22 
23 #include <gtkam-camera.h>
24 
25 /*#include <gtk/gtkfilesel.h>*/
26 #include <gtk/gtkfilechooser.h>
27 #include <gtk/gtkfilechooserdialog.h>
28 #include <gtk/gtkwindow.h>
29 
30 #define GTKAM_TYPE_SAVE  (gtkam_save_get_type ())
31 #define GTKAM_SAVE(o)    (GTK_CHECK_CAST((o),GTKAM_TYPE_SAVE,GtkamSave))
32 #define GTKAM_IS_SAVE(o) (GTK_CHECK_TYPE((o),GTKAM_TYPE_SAVE))
33 
34 typedef struct _GtkamSave        GtkamSave;
35 typedef struct _GtkamSavePrivate GtkamSavePrivate;
36 typedef struct _GtkamSaveClass   GtkamSaveClass;
37 
38 struct _GtkamSave
39 {
40 /*	GtkFileSelection parent;*/
41 	GtkFileChooserDialog parent;
42 
43 	GtkamSavePrivate *priv;
44 };
45 
46 struct _GtkamSaveClass
47 {
48 	/*GtkFileSelectionClass parent_class;*/
49 	GtkFileChooserDialogClass parent_class;
50 };
51 
52 GtkType    gtkam_save_get_type (void);
53 GtkWidget *gtkam_save_new      (GtkWindow *main_window);
54 
55 void       gtkam_save_add      (GtkamSave *save, GtkamCamera *,
56 				const gchar *folder, const gchar *name);
57 
58 #endif /* __GTKAM_SAVE_H__ */
59