aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-factory.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-05-08 06:13:14 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-05-08 06:13:14 +0800
commit2ed7c634ca93703fdaf01187317a5ab504f0c6c8 (patch)
tree543c50fabd8c541eac01739b352dc2bef96a89ef /calendar/pcs/cal-factory.h
parentfe1de979a2ab75cefdc168ccecc64bb6c02ebb9e (diff)
downloadgsoc2013-evolution-2ed7c634ca93703fdaf01187317a5ab504f0c6c8.tar.gz
gsoc2013-evolution-2ed7c634ca93703fdaf01187317a5ab504f0c6c8.tar.zst
gsoc2013-evolution-2ed7c634ca93703fdaf01187317a5ab504f0c6c8.zip
Convert to bonobo xobject
2001-05-07 JP Rosevear <jpr@ximian.com> * pcs/cal-factory.[hc]: Convert to bonobo xobject * pcs/cal.[hc]: Convert to bonobo xobject svn path=/trunk/; revision=9703
Diffstat (limited to 'calendar/pcs/cal-factory.h')
-rw-r--r--calendar/pcs/cal-factory.h34
1 files changed, 13 insertions, 21 deletions
diff --git a/calendar/pcs/cal-factory.h b/calendar/pcs/cal-factory.h
index ac28a5935b..008fc2c36d 100644
--- a/calendar/pcs/cal-factory.h
+++ b/calendar/pcs/cal-factory.h
@@ -1,6 +1,5 @@
/* Evolution calendar factory
*
- * Copyright (C) 2000 Helix Code, Inc.
* Copyright (C) 2000 Ximian, Inc.
*
* Author: Federico Mena-Quintero <federico@ximian.com>
@@ -24,9 +23,9 @@
#define CAL_FACTORY_H
#include <libgnome/gnome-defs.h>
-#include <bonobo/bonobo-object.h>
+#include <bonobo/bonobo-xobject.h>
-#include "calendar/pcs/evolution-calendar.h"
+#include "evolution-calendar.h"
BEGIN_GNOME_DECLS
@@ -45,36 +44,29 @@ typedef struct _CalFactoryClass CalFactoryClass;
typedef struct _CalFactoryPrivate CalFactoryPrivate;
struct _CalFactory {
- BonoboObject object;
+ BonoboXObject object;
/* Private data */
CalFactoryPrivate *priv;
};
struct _CalFactoryClass {
- BonoboObjectClass parent_class;
+ BonoboXObjectClass parent_class;
+
+ POA_GNOME_Evolution_Calendar_CalFactory__epv epv;
/* Notification signals */
void (* last_calendar_gone) (CalFactory *factory);
};
-GtkType cal_factory_get_type (void);
+GtkType cal_factory_get_type (void);
+CalFactory *cal_factory_new (void);
-CalFactory *cal_factory_construct (CalFactory *factory,
- GNOME_Evolution_Calendar_CalFactory corba_factory);
-GNOME_Evolution_Calendar_CalFactory cal_factory_corba_object_create (BonoboObject *object);
-
-CalFactory *cal_factory_new (void);
-
-gboolean cal_factory_oaf_register (CalFactory *factory);
-
-void cal_factory_register_method (CalFactory *factory, const char *method, GtkType backend_type);
-
-int cal_factory_get_n_backends (CalFactory *factory);
-
-POA_GNOME_Evolution_Calendar_CalFactory__epv *cal_factory_get_epv (void);
-
-
+gboolean cal_factory_oaf_register (CalFactory *factory);
+void cal_factory_register_method (CalFactory *factory,
+ const char *method,
+ GtkType backend_type);
+int cal_factory_get_n_backends (CalFactory *factory);
END_GNOME_DECLS