]> git.sur5r.net Git - glabels/blob - glabels2/src/glabels.h
Initial revision
[glabels] / glabels2 / src / glabels.h
1 /*
2  *  (GLABELS) Label and Business Card Creation program for GNOME
3  *
4  *  glabels.h:  GLabels main 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 /*
24  * This file is based on gedit.h from gedit2:
25  *
26  * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
27  * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi 
28  *
29  */
30 #ifndef __GLABELS_H__
31 #define __GLABELS_H__
32
33 #include <gmodule.h>
34 #include <glib/glist.h>
35 #include <bonobo/bonobo-window.h>
36
37 #include "mdi.h"
38 #include "label.h"
39 #include "view.h" 
40
41 extern glMDI*   glabels_mdi;
42 extern gboolean glabels_close_x_button_pressed;
43 extern gboolean glabels_exit_button_pressed;
44
45 BonoboWindow*           glabels_get_active_window               (void);
46 glLabel*                glabels_get_active_label                (void);
47 glView*                 glabels_get_active_view                 (void);
48 GList*                  glabels_get_top_windows                 (void);
49
50
51 #endif /* __GLABELS_H__ */
52
53
54