From 39fd16a59fdcc1b00291eca8f2ac8447851a8e97 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 30 Aug 2006 22:55:23 +0000 Subject: [PATCH] Monotone-Parent: 7793cd7b2bace49b3d3e6fc66ad3d9de9c5c167d Monotone-Revision: e705fe92d77e84f110a9afc8e89c7bd0fe76b58c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-30T22:55:23 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 ++ UI/Contacts/UIxContactSelector.h | 60 ++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 UI/Contacts/UIxContactSelector.h diff --git a/ChangeLog b/ChangeLog index 06d6cfe92..9cac9db94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-08-30 Wolfgang Sourdeau + * UI/Contacts/UIxContactSelector.h: separated interface from + UIxContactSelector.m. + * UI/Scheduler/UIxDatePickerScript.[hm]: component removed since all javascript code is now put in Scheduler.js/generic.js. diff --git a/UI/Contacts/UIxContactSelector.h b/UI/Contacts/UIxContactSelector.h new file mode 100644 index 000000000..4162b0356 --- /dev/null +++ b/UI/Contacts/UIxContactSelector.h @@ -0,0 +1,60 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + */ + +#ifndef UIXCONTACTSELECTOR_H +#define UIXCONTACTSELECTOR_H + +@interface UIxContactSelector : UIxComponent +{ + NSString *title; + NSString *windowId; + NSString *selectorId; + NSString *callback; + + NSArray *contacts; + iCalPerson *currentContact; +} + +- (void)setTitle:(NSString *)_title; +- (NSString *)title; +- (void)setWindowId:(NSString *)_winId; +- (NSString *)windowId; +- (void)setSelectorId:(NSString *)_selId; +- (NSString *)selectorId; +- (void)setCallback:(NSString *)_callback; +- (NSString *)callback; + +- (void) setContacts: (NSArray *) _contacts; +- (NSArray *) contacts; + +- (void) setCurrentContact: (iCalPerson *) aContact; +- (NSString *) currentContactId; +- (NSString *) currentContactName; +- (NSString *) initialContactsAsString; + +- (NSString *)relativeContactsPath; + +- (NSString *)jsFunctionName; +- (NSString *)jsFunctionHref; +- (NSString *)jsCode; +@end + +#endif /* UIXCONTACTSELECTOR_H */