From ded7e245d8be7a676747e0881deed6113df88eba Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 10 May 2002 20:04:06 +0000 Subject: Added SimpleCard interface. 2002-05-10 Christopher James Lahey * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: Added SimpleCard interface. * gui/component/select-names/Makefile.am: Added e-simple-card-bonobo.c and e-simple-card-bonobo.h. * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Added SIMPLE_CARD_LIST arg. * gui/component/select-names/e-simple-card-bonobo.c, gui/component/select-names/e-simple-card-bonobo.h: New class to represent an ECardSimple across Bonobo. svn path=/trunk/; revision=16757 --- .../Evolution-Addressbook-SelectNames.idl | 73 +++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl') diff --git a/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl b/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl index 244799deb2..f25279bb38 100644 --- a/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl +++ b/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl @@ -1,4 +1,4 @@ -/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * CORBA interface for the SelectNames dialog. * @@ -14,6 +14,77 @@ module GNOME { module Evolution { module Addressbook { + interface SimpleCard : Bonobo::Unknown { + struct Arbitrary { + string key; + string type; + string value; + }; + + enum Field { + FileAs, + FullName, + Email, + PhonePrimary, + PhoneAssistant, + PhoneBusiness, + PhoneCallback, + PhoneCompany, + PhoneHome, + Org, + AddressBusiness, + AddressHome, + PhoneMobile, + PhoneCar, + PhoneBusinessFax, + PhoneHomeFax, + PhoneBusiness2, + PhoneHome2, + PhoneIsdn, + PhoneOther, + PhoneOtherFax, + PhonePager, + PhoneRadio, + PhoneTelex, + PhoneTtytdd, + AddressOther, + Email2, + Email3, + Url, + OrgUnit, + Office, + Title, + Role, + Manager, + Assistant, + Nickname, + Spouse, + Note, + Caluri, + Fburl, + Anniversary, + BirthDate, + Mailer, + NameOrOrg, + Categories, + FamilyName, + GivenName, + AdditionalName, + NameSuffix, + WantsHtml, + IsList, + Last + }; + + Arbitrary getArbitrary (in string key); + void setArbitrary (in string key, in string type, in string value); + + string get (in Field field); + void set (in Field field, in string value); + }; + + typedef sequence SimpleCardList; + interface SelectNames : Bonobo::Unknown { struct Section { string id; -- cgit v1.2.3