]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/persist-stream.h
ocaml 3.09 transition
[helm.git] / helm / gtkmathview-bonobo / src / persist-stream.h
1 /* This file is part of GtkMathView-Bonobo, a Bonobo wrapper for GtkMathView.
2  * Copyright (C) 2003 Luca Padovani <lpadovan@cs.unibo.it>
3  *                    Pouria Masoudi <pmasoudi@cs.unibo.it>
4  * 
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  * 
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  * 
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  * For more information, please visit the project's home page
20  * http://helm.cs.unibo.it/gtkmathview-bonobo
21  * or send an email to <lpadovan@cs.unibo.it>
22  */
23
24 #ifndef __GTK_MATH_VIEW_PERSIST_STREAM_H__
25 #define __GTK_MATH_VIEW_PERSIST_STREAM_H__
26
27 #include <bonobo/bonobo-persist.h>
28 #include <gtkmathview.h>
29
30 G_BEGIN_DECLS
31
32 struct _GtkMathViewPersistStream;
33 typedef struct _GtkMathViewPersistStream GtkMathViewPersistStream;
34 typedef struct _GtkMathViewPersistStreamPrivate GtkMathViewPersistStreamPrivate;
35
36 #define GTK_MATH_VIEW_TYPE_PERSIST_STREAM (gtk_math_view_persist_stream_get_type())
37 #define GTK_MATH_VIEW_PERSIST_STREAM(object) (G_TYPE_CHECK_INSTANCE_CAST((object), GTK_MATH_VIEW_TYPE_PERSIST_STREAM,GtkMathViewPersistStream))
38 #define GTK_MATH_VIEW_IS_PERSIST_STREAM(object) (G_TYPE_CHECK_INSTANCE_TYPE((object),  GTK_MATH_VIEW_TYPE_PERSIST_STREAM))
39 #define GTK_MATH_VIEW_IS_PERSIST_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_MATH_VIEW_TYPE_PERSIST_STREAM))
40
41 struct _GtkMathViewPersistStream
42 {
43   BonoboPersist parent;
44   GtkMathView *math_view;
45   gchar* tmp_path_name;
46 };
47
48 typedef struct
49 {
50   BonoboPersistClass parent_class;
51   POA_Bonobo_PersistStream__epv epv;
52 } GtkMathViewPersistStreamClass;
53
54 GType   gtk_math_view_persist_stream_get_type(void);
55 BonoboObject *gtk_math_view_persist_stream_new(GtkMathView *);
56
57 G_END_DECLS
58
59 #endif