]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/control-factory.h
Control Factory modified.
[helm.git] / helm / gtkmathview-bonobo / src / control-factory.h
1 /*
2  * gtk_math_view_bonobo.c
3  * This file is part of gedit
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program 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
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, 
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifdef GTK_MATH_VIEW_CONTROL_FACTORY_H_
22 #define GTK_MATH_VIEW_CONTROL_FACTORY_H_
23
24 #include <bonobo.h>
25 #include <glib.h>
26 #include <bonobo/bonobo-control.h>
27 #include <gtkmathview.h>
28
29 #define CONTROL_FACTORY_ID      "OAFIID:GNOME_GtkMathView_Factory:" MATH_VIEW_API_VERSION
30 #define CONTROL_ID              "OAFIID:GNOME_GtkMathView:" MATH_VIEW_API_VERSION
31
32 enum math_args;
33
34 BonoboControl *gtk_math_view_control_factory(BonoboGenericFactory *factory,const gchar *component_id, gpointer closure);
35 static void get_prop(BonoboPropertyBag*, BonoboArg *, guint , CorbaEnvironment*, gpointer);
36 static void set_prop(BonoboPropertyBag*, BonoboArg *, guint , CorbaEnvironment*, gpointer);
37
38 static void notify_property_bag(GtkMathView* ,gpointer);
39
40 #endif