]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gtkmathview-bonobo/src/control-factory.h
* the container seems to work now
[helm.git] / helm / gtkmathview-bonobo / src / control-factory.h
index 68830bc87ab5baceaf2afa3e423bc034afacfba4..e91e8a7a5c18e1076a7805bf6f4e6b833b3e01c5 100644 (file)
  * Foundation, Inc., 59 Temple Place, Suite 330, 
  * Boston, MA 02111-1307, USA.
  */
-#include <bonobo.h>
-#include <glib.h>
-#include <bonobo/bonobo-control.h>
-
-#include <gtkmathview.h>
-
 
-enum math_args;
+#ifndef __control_factory_h__
+#define __control_factory_h__
 
-static void get_prop(BonoboPropertyBag*, BonoboArg *, guint , CorbaEnvironment*, gpointer);
-static void set_prop(BonoboPropertyBag*, BonoboArg *, guint , CorbaEnvironment*, gpointer);
-
-static BonoboControl* instantiate_func(void);
-
-static void notify_property_bag(GtkMathView* ,gpointer);
+#include <config.h>
+#include <bonobo.h>
+#include <bonobo/bonobo-control.h>
 
+#define CONTROL_FACTORY_ID     "OAFIID:GNOME_GtkMathView_Factory:" MATH_VIEW_API_VERSION
+#define CONTROL_ID             "OAFIID:GNOME_GtkMathView:" MATH_VIEW_API_VERSION
 
+#endif /* __control_factory_h__ */