]> git.sur5r.net Git - glabels/blob - src/file.h
Imported Upstream version 3.0.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
38 void     gl_file_open        (glWindow        *window);
39
40
41 void     gl_file_open_recent (const gchar     *filename,
42                               glWindow        *window);
43
44 gboolean gl_file_open_real   (const gchar     *filename,
45                               glWindow        *window);
46
47
48 gboolean gl_file_save        (glLabel         *label,
49                               glWindow        *window);
50
51 gboolean gl_file_save_as     (glLabel         *label,
52                               glWindow        *window);
53
54
55 gboolean gl_file_close       (glWindow        *window);
56
57 void     gl_file_exit        (void);
58
59 G_END_DECLS
60
61 #endif /* __FILE_H__ */
62
63
64
65 /*
66  * Local Variables:       -- emacs
67  * mode: C                -- emacs
68  * c-basic-offset: 8      -- emacs
69  * tab-width: 8           -- emacs
70  * indent-tabs-mode: nil  -- emacs
71  * End:                   -- emacs
72  */