2003-03-04 JP Rosevear <jpr@ximian.com> * gui/component/select-names/e-select-names.etspec: reflect prior column addition * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): set the arg properly * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: add Icscalendar to field list * backend/pas/pas-backend-ldap.c: add icscalendar to prop list * backend/ebook/e-card.h: add icscalendar data member * backend/ebook/e-card.c: add icscalendar to list and its parse routine (e_card_get_vobject): add icscalendar prop value (parse_icscalendar): parse routine (e_card_class_init): add icscalendar arg (e_card_destroy): destroy icscalendar member (e_card_set_arg): set icscalendar (e_card_init): init icscalendar (e_card_get_arg): return icscalendar * backend/ebook/e-card-simple.c (field_data): add icscalendar * backend/ebook/e-card-simple.h: ditto svn path=/trunk/; revision=20153
115 lines
1.9 KiB
Plaintext
115 lines
1.9 KiB
Plaintext
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* CORBA interface for the SelectNames dialog.
|
|
*
|
|
* Authors:
|
|
* Ettore Perazzoli <ettore@ximian.com>
|
|
*
|
|
* Copyright (C) 2000 Ximian, Inc.
|
|
*/
|
|
|
|
#include <Bonobo.idl>
|
|
|
|
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,
|
|
Icscalendar,
|
|
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<SimpleCard> SimpleCardList;
|
|
|
|
interface SelectNames : Bonobo::Unknown {
|
|
struct Section {
|
|
string id;
|
|
string title;
|
|
};
|
|
|
|
typedef sequence<Section> SectionList;
|
|
|
|
exception DuplicateID {};
|
|
exception SectionNotFound {};
|
|
|
|
void addSection (in string id, in string title)
|
|
raises (DuplicateID);
|
|
void addSectionWithLimit (in string id, in string title, in short limit)
|
|
raises (DuplicateID);
|
|
|
|
Bonobo::Control getEntryBySection (in string section_id)
|
|
raises (SectionNotFound);
|
|
|
|
void activateDialog (in string section_id);
|
|
};
|
|
|
|
|
|
};
|
|
};
|
|
};
|