]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/view.h
* added test View interface. It is basically empty but eventually it will host
[helm.git] / helm / gtkmathview-bonobo / src / view.h
1
2 #ifndef __view_h__
3 #define __view_h__
4
5 #include <bonobo.h>
6
7 #include "GNOME_GtkMathView_View.h"
8
9 #define VIEW_TYPE         (view_get_type())
10 #define VIEW(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), VIEW_TYPE, View))
11 #define VIEW_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), VIEW_TYPE, ViewClass))
12 #define VIEW_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), VIEW_TYPE))
13 #define VIEW_IS_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), VIEW_TYPE))
14 #define VIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), VIEW_TYPE, ViewClass))
15
16 typedef struct {
17   BonoboObject parent;
18 } View;
19
20 typedef struct {
21   BonoboObjectClass parent_class;
22   POA_GNOME_GtkMathView_View__epv epv;
23 } ViewClass;
24
25 GType view_get_type(void);
26 View* view_new(void);
27
28 #endif /* __view_h__ */
29