]> git.sur5r.net Git - glabels/blob - glabels2/src/file.h
Initial revision
[glabels] / glabels2 / src / file.h
1 /*
2  *  (GLABELS) Label and Business Card Creation program for GNOME
3  *
4  *  file.h:  FILE menu dialog module header file
5  *
6  *  Copyright (C) 2000  Jim Evins <evins@snaught.com>.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21  */
22
23 #ifndef __FILE_H__
24 #define __FILE_H__
25
26 #include "mdi-child.h"
27 #include "gnome-recent-view.h"
28
29 extern void     gl_file_new         (void);
30
31 extern void     gl_file_open        (glMDIChild *active_child);
32 extern gboolean gl_file_open_recent (GnomeRecentView *view,
33                                      const gchar *filename,
34                                      BonoboWindow *win);
35 extern gboolean gl_file_open_real   (const gchar *filename,
36                                      GtkWindow *win);
37
38 extern gboolean gl_file_save        (glMDIChild *child);
39 extern gboolean gl_file_save_as     (glMDIChild *child);
40
41 extern void     gl_file_close       (GtkWidget *view);
42 extern gboolean gl_file_close_all   (void);
43 extern void     gl_file_exit        (void);
44
45 #endif                          /* __FILE_H__ */