]> git.sur5r.net Git - glabels/blob - glabels2/src/commands.h
Initial revision
[glabels] / glabels2 / src / commands.h
1 /*
2  *  (GLABELS) Label and Business Card Creation program for GNOME
3  *
4  *  commands.h:  GLabels commands module header file
5  *
6  *  Copyright (C) 2001-2002  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 __COMMANDS_H__
24 #define __COMMANDS_H__
25
26 #include <bonobo/bonobo-ui-component.h>
27
28 extern void gl_cmd_file_new           (BonoboUIComponent *uic,
29                                        gpointer user_data,
30                                        const gchar* verbname);
31
32 extern void gl_cmd_file_open          (BonoboUIComponent *uic,
33                                        gpointer user_data,
34                                        const gchar* verbname);
35
36 extern void gl_cmd_file_save          (BonoboUIComponent *uic,
37                                        gpointer user_data,
38                                        const gchar* verbname);
39
40 extern void gl_cmd_file_save_as       (BonoboUIComponent *uic,
41                                        gpointer user_data,
42                                        const gchar* verbname);
43
44 extern void gl_cmd_file_print         (BonoboUIComponent *uic,
45                                        gpointer user_data,
46                                        const gchar* verbname);
47
48 extern void gl_cmd_file_print_preview (BonoboUIComponent *uic,
49                                        gpointer user_data,
50                                        const gchar* verbname);
51
52 extern void gl_cmd_file_close         (BonoboUIComponent *uic,
53                                        gpointer user_data,
54                                        const gchar* verbname);
55
56 extern void gl_cmd_file_close_all     (BonoboUIComponent *uic,
57                                        gpointer user_data,
58                                        const gchar* verbname);
59
60 extern void gl_cmd_file_exit          (BonoboUIComponent *uic,
61                                        gpointer user_data,
62                                        const gchar* verbname);
63
64
65 extern void gl_cmd_edit_undo          (BonoboUIComponent *uic,
66                                        gpointer user_data,
67                                        const gchar* verbname);
68
69 extern void gl_cmd_edit_redo          (BonoboUIComponent *uic,
70                                        gpointer user_data,
71                                        const gchar* verbname);
72
73 extern void gl_cmd_edit_cut           (BonoboUIComponent *uic,
74                                        gpointer user_data,
75                                        const gchar* verbname);
76
77 extern void gl_cmd_edit_copy          (BonoboUIComponent *uic,
78                                        gpointer user_data,
79                                        const gchar* verbname);
80
81 extern void gl_cmd_edit_paste         (BonoboUIComponent *uic,
82                                        gpointer user_data,
83                                        const gchar* verbname);
84
85 extern void gl_cmd_edit_delete        (BonoboUIComponent *uic,
86                                        gpointer user_data,
87                                        const gchar* verbname);
88
89 extern void gl_cmd_edit_select_all    (BonoboUIComponent *uic,
90                                        gpointer user_data,
91                                        const gchar* verbname);
92
93 extern void gl_cmd_edit_unselect_all    (BonoboUIComponent *uic,
94                                          gpointer user_data,
95                                          const gchar* verbname);
96
97
98 extern void gl_cmd_settings_preferences (BonoboUIComponent *uic,
99                                          gpointer user_data,
100                                          const gchar* verbname);
101
102
103 extern void gl_cmd_help_contents        (BonoboUIComponent *uic,
104                                          gpointer user_data,
105                                          const gchar* verbname);
106
107 extern void gl_cmd_help_about           (BonoboUIComponent *uic,
108                                          gpointer user_data,
109                                          const gchar* verbname);
110
111 #endif /* __COMMANDS_H__ */