2000-03-12 bertrand <bertrand@helixcode.com> * 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
46 lines
737 B
Plaintext
46 lines
737 B
Plaintext
/*
|
|
* CORBA interface for the Evolution shell
|
|
*
|
|
* Authors:
|
|
* Miguel de Icaza (miguel@kernel.org)
|
|
*
|
|
* (C) 2000 Helix Code, Inc.
|
|
*/
|
|
#include <bonobo.idl>
|
|
|
|
|
|
module Evolution {
|
|
interface Shell : Bonobo::Unknown {
|
|
enum NewType {
|
|
APPOINTMENT,
|
|
MEETING_REQUEST,
|
|
TASK,
|
|
TASK_REQUEST,
|
|
CONTACT,
|
|
MAIL_MESSAGE,
|
|
DISTRIBUTION_LIST,
|
|
JOURNAL_ENTRY,
|
|
NOTE
|
|
};
|
|
|
|
enum ServiceType {
|
|
MAIL_STORE,
|
|
MAIL_TRANSPORT
|
|
};
|
|
|
|
void new (in NewType type);
|
|
|
|
/**
|
|
* register_service : register a service into the shell
|
|
*
|
|
* @type : type of the service
|
|
* @uri : uri of the service, uniquely determine the service.
|
|
*
|
|
*/
|
|
void register_service (in ServiceType type,
|
|
in string uri);
|
|
|
|
|
|
};
|
|
};
|