]> git.sur5r.net Git - glabels/blob - src/file.h
Imported Upstream version 3.4.0
[glabels] / src / file.h
1 /*
2  *  file.h
3  *  Copyright (C) 2001-2009  Jim Evins <evins@snaught.com>.
4  *
5  *  This file is part of gLabels.
6  *
7  *  gLabels is free software: you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation, either version 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  gLabels is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with gLabels.  If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __FILE_H__
22 #define __FILE_H__
23
24 #include <gtk/gtk.h>
25
26 #include "label.h"
27 #include "window.h"
28
29 G_BEGIN_DECLS
30
31 void     gl_file_new               (glWindow        *window);
32
33
34 void     gl_file_properties        (glLabel         *label,
35                                     glWindow        *window);
36
37 void     gl_file_choose_properties (glLabel         *label,
38                                     glWindow        *window);
39
40
41 void     gl_file_open              (glWindow        *window);
42
43
44 void     gl_file_open_recent       (const gchar     *filename,
45                                     glWindow        *window);
46
47 gboolean gl_file_open_real         (const gchar     *filename,
48                                     glWindow        *window);
49
50
51 gboolean gl_file_save              (glLabel         *label,
52                                     glWindow        *window);
53
54 gboolean gl_file_save_as           (glLabel         *label,
55                                     glWindow        *window);
56
57
58 gboolean gl_file_close             (glWindow        *window);
59
60 void     gl_file_exit              (void);
61
62 G_END_DECLS
63
64 #endif /* __FILE_H__ */
65
66
67
68 /*
69  * Local Variables:       -- emacs
70  * mode: C                -- emacs
71  * c-basic-offset: 8      -- emacs
72  * tab-width: 8           -- emacs
73  * indent-tabs-mode: nil  -- emacs
74  * End:                   -- emacs
75  */