]> matita.cs.unibo.it Git - helm.git/blob - helm/helmpot/guiGTK.h
ocaml 3.09 transition
[helm.git] / helm / helmpot / guiGTK.h
1 /*
2  * Copyright (C) 2000, Luca Padovani <luca.padovani@cs.unibo.it>.
3  * 
4  * This file is part of HelmPot, a minimal browser for HELM.
5  * 
6  * HelmPot is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  * 
11  * HelmPot is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  * 
16  * You should have received a copy of the GNU General Public License
17  * along with HelmPot; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19  * 
20  * For details, see the HelmPot World-Wide-Web page,
21  * http://cs.unibo.it/helm/helmview, or send a mail to
22  * <luca.padovani@cs.unibo.it>
23  */
24
25 #ifndef __guiGTK_h__
26 #define __guiGTK_h__
27
28 #include <glib.h>
29 #include <gtk/gtk.h>
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35   /* initGUI: some initialization stuff, creates the main window, sets it with a title */
36   void GUI_init(gint *, gchar ***, gchar *, guint, guint, GtkFunction, guint32);
37   void GUI_uninit(void);
38
39   int  GUI_load_document(const gchar*);
40   void GUI_unload_document(void);
41   void GUI_dump_entities(void);
42
43   /* main: this is the main event loop, to be called when the program is ready to run */
44   void GUI_run(void);
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50 #endif /* __guiGTK_h__ */