]> err.no Git - scalable-opengroupware.org/blob - UI/Contacts/UIxContactSelector.h
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1015 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Contacts / UIxContactSelector.h
1 /*
2  Copyright (C) 2000-2004 SKYRIX Software AG
3  
4  This file is part of OGo
5  
6  OGo is free software; you can redistribute it and/or modify it under
7  the terms of the GNU Lesser General Public License as published by the
8  Free Software Foundation; either version 2, or (at your option) any
9  later version.
10  
11  OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12  WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14  License for more details.
15  
16  You should have received a copy of the GNU Lesser General Public
17  License along with OGo; see the file COPYING.  If not, write to the
18  Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19  02111-1307, USA.
20  */
21
22 #ifndef UIXCONTACTSELECTOR_H
23 #define UIXCONTACTSELECTOR_H
24
25 @class NSArray;
26 @class NSDictionary;
27 @class NSString;
28 @class iCalPerson;
29
30 @interface UIxContactSelector : UIxComponent
31 {
32   NSString *title;
33   NSString *windowId;
34   NSString *selectorId;
35   NSString *callback;
36
37   NSArray *contacts;
38   NSArray *checkedBoxes;
39   iCalPerson *currentContact;
40
41   BOOL hasCheckBoxes;
42   NSString *checkBoxOnChange;
43
44   NSDictionary *userColors;
45 }
46
47 - (void) setHasCheckBoxes: (BOOL) aBool;
48 - (BOOL) hasCheckBoxes;
49 - (void) setCheckBoxOnChange: (NSString *) aString;
50 - (NSString *) checkBoxOnChange;
51
52 - (void)setTitle:(NSString *)_title;
53 - (NSString *)title;
54 - (void)setWindowId:(NSString *)_winId;
55 - (NSString *)windowId;
56 - (void)setSelectorId:(NSString *)_selId;
57 - (NSString *)selectorId;
58 - (void)setCallback:(NSString *)_callback;
59 - (NSString *)callback;
60
61 - (void) setContacts: (NSArray *) _contacts;
62 - (NSArray *) contacts;
63
64 - (void) setCurrentContact: (iCalPerson *) aContact;
65 - (NSString *) currentContactId;
66 - (NSString *) currentContactName;
67 - (NSString *) initialContactsAsString;
68
69 - (NSString *)relativeContactsPath;
70
71 - (NSString *)jsFunctionName;
72 - (NSString *)jsFunctionHref;
73 - (NSString *)jsCode;
74 @end
75
76 #endif /* UIXCONTACTSELECTOR_H */