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>
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.
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.
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
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>
24 #ifndef __GTK_MATH_VIEW_PERSIST_FILE_H__
25 #define __GTK_MATH_VIEW_PERSIST_FILE_H__
27 #include <bonobo/bonobo-persist.h>
28 #include <gtkmathview.h>
32 struct _GtkMathViewPersistFile;
33 typedef struct _GtkMathViewPersistFile GtkMathViewPersistFile;
34 typedef struct _GtkMathViewPersistFilePrivate GtkMathViewPersistFilePrivate;
36 #define GTK_MATH_VIEW_TYPE_PERSIST_FILE (gtk_math_view_persist_file_get_type())
37 #define GTK_MATH_VIEW_PERSIST_FILE(object) (G_TYPE_CHECK_INSTANCE_CAST((object), GTK_MATH_VIEW_TYPE_PERSIST_FILE, \
38 GtkMathViewPersistFile))
39 #define GTK_MATH_VIEW_IS_PERSIST_FILE(object) (G_TYPE_CHECK_INSTANCE_TYPE((object),\
40 GTK_MATH_VIEW_TYPE_PERSIST_FILE))
41 #define GTK_MATH_VIEW_IS_PERSIST_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
42 GTK_MATH_VIEW_TYPE_PERSIST_FILE))
44 struct _GtkMathViewPersistFile
47 GtkMathView *math_view;
52 BonoboPersistClass parent_class;
53 POA_Bonobo_PersistFile__epv epv;
54 } GtkMathViewPersistFileClass;
56 GType gtk_math_view_persist_file_get_type(void);
57 BonoboObject *gtk_math_view_persist_file_new(GtkMathView *);