]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/persist-stream.h
* added first version of persist stream implementation (not yet working)
[helm.git] / helm / gtkmathview-bonobo / src / persist-stream.h
1 #ifndef __GTK_MATH_VIEW_PERSIST_STREAM_H__
2 #define __GTK_MATH_VIEW_PERSIST_STREAM_H__
3
4 #include <bonobo/bonobo-persist.h>
5 #include <gtkmathview.h>
6
7 G_BEGIN_DECLS
8
9 struct _GtkMathViewPersistStream;
10 typedef struct _GtkMathViewPersistStream GtkMathViewPersistStream;
11 typedef struct _GtkMathViewPersistStreamPrivate GtkMathViewPersistStreamPrivate;
12
13 #define GTK_MATH_VIEW_TYPE_PERSIST_STREAM     (gtk_math_view_persist_stream_get_type())
14
15 #define GTK_MATH_VIEW_PERSIST_STREAM(object)    (G_TYPE_CHECK_INSTANCE_CAST((object), GTK_MATH_VIEW_TYPE_PERSIST_STREAM,GtkMathViewPersistStream))
16
17 #define GTK_MATH_VIEW_IS_PERSIST_STREAM(object) (G_TYPE_CHECK_INSTANCE_TYPE((object),  GTK_MATH_VIEW_TYPE_PERSIST_STREAM))
18
19 #define GTK_MATH_VIEW_IS_PERSIST_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_MATH_VIEW_TYPE_PERSIST_STREAM))
20
21 struct _GtkMathViewPersistStream{
22     BonoboPersist parent;
23     GtkMathView *math_view;
24     const gchar* tmp_path_name;
25 };
26
27 typedef struct{
28     BonoboPersistClass parent_class;
29
30     POA_Bonobo_PersistStream__epv epv;
31 }GtkMathViewPersistStreamClass;
32
33 GType   gtk_math_view_persist_stream_get_type(void);
34 BonoboObject       *gtk_math_view_persist_stream_new(GtkMathView *math_view);
35
36 G_END_DECLS
37
38 #endif