* 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__ */