From 5adb1dedf6e2fedd68edecc67f8badb28994dce7 Mon Sep 17 00:00:00 2001 From: bertrand Date: Sun, 12 Mar 2000 15:17:01 +0000 Subject: Implementation of the service repository interface as a bonobo object. 2000-03-12 bertrand * shell/evolution-service-repository.c: * shell/evolution-service-repository.h: Implementation of the service repository interface as a bonobo object. * shell/evolution-service-repository.idl: new file. Contains the definition for the service repository interface. * shell/Shell.idl: move the shell related stuff here svn path=/trunk/; revision=2103 --- shell/evolution-service-repository.h | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 shell/evolution-service-repository.h (limited to 'shell/evolution-service-repository.h') diff --git a/shell/evolution-service-repository.h b/shell/evolution-service-repository.h new file mode 100644 index 0000000000..677f88152d --- /dev/null +++ b/shell/evolution-service-repository.h @@ -0,0 +1,47 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +#ifndef _EVOLUTION_SERVICE_REPOSITORY_H +#define _EVOLUTION_SERVICE_REPOSITORY_H 1 + +#include +#include "Evolution.h" + +BEGIN_GNOME_DECLS + +#define EVOLUTION_SERVICE_REPOSITORY_TYPE (evolution_service_repository_get_type ()) +#define EVOLUTION_SERVICE_REPOSITORY(o) (GTK_CHECK_CAST ((o), EVOLUTION_SERVICE_REPOSITORY_TYPE, EvolutionServiceRepository)) +#define EVOLUTION_SERVICE_REPOSITORY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), EVOLUTION_SERVICE_REPOSITORY_TYPE, EvolutionServiceRepositoryClass)) +#define EVOLUTION_IS_SERVICE_REPOSITORY(o) (GTK_CHECK_TYPE ((o), EVOLUTION_SERVICE_REPOSITORY_TYPE)) +#define EVOLUTION_IS_SERVICE_REPOSITORY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), EVOLUTION_SERVICE_REPOSITORY_TYPE)) + +typedef struct _EvolutionServiceRepository EvolutionServiceRepositoryPrivate; + + +typedef struct { + BonoboObject object; + + EvolutionServiceRepositoryPrivate *priv; + +} EvolutionServiceRepository; + + + +typedef struct { + BonoboObjectClass parent_class; + +} EvolutionServiceRepositoryClass; + + + +GtkType evolution_service_repository_get_type (void); +EvolutionServiceRepository *evolution_service_repository_construct (EvolutionServiceRepository *service_repository, + Evolution_ServiceRepository corba_service_repository); + +POA_Evolution_ServiceRepository__epv *evolution_service_repository_get_epv (void); + +extern POA_Evolution_ServiceRepository__vepv evolution_service_repository_vepv; + +END_GNOME_DECLS + + +#endif /* _EVOLUTION_SERVICE_REPOSITORY_H */ + -- cgit