1 | /* |
---|
2 | * Adium is the legal property of its developers, whose names are listed in the copyright file included |
---|
3 | * with this source distribution. |
---|
4 | * |
---|
5 | * This program is free software; you can redistribute it and/or modify it under the terms of the GNU |
---|
6 | * General Public License as published by the Free Software Foundation; either version 2 of the License, |
---|
7 | * or (at your option) any later version. |
---|
8 | * |
---|
9 | * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
---|
10 | * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
---|
11 | * Public License for more details. |
---|
12 | * |
---|
13 | * You should have received a copy of the GNU General Public License along with this program; if not, |
---|
14 | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
15 | */ |
---|
16 | |
---|
17 | |
---|
18 | @class AIChat, AIAccount, AIMetaContact, AIListContact, AIService; |
---|
19 | |
---|
20 | @interface DCJoinChatViewController : NSObject { |
---|
21 | IBOutlet NSView *view; // Custom view |
---|
22 | AIChat *chat; // The newly created chat |
---|
23 | AIAccount *account; // The account we're being configured for |
---|
24 | |
---|
25 | id delegate; // Our delegate |
---|
26 | id sharedChatInstance; |
---|
27 | } |
---|
28 | |
---|
29 | + (DCJoinChatViewController *)joinChatView; |
---|
30 | |
---|
31 | - (id)init; |
---|
32 | - (NSView *)view; |
---|
33 | - (NSString *)nibName; |
---|
34 | |
---|
35 | - (void)configureForAccount:(AIAccount *)inAccount; |
---|
36 | - (void)joinChatWithAccount:(AIAccount *)inAccount; |
---|
37 | |
---|
38 | - (NSString *)impliedCompletion:(NSString *)aString; |
---|
39 | - (AIListContact *)validContact:(NSString *)uniqueID withService:(AIService *)service; |
---|
40 | - (NSDragOperation)doDraggingEntered:(id <NSDraggingInfo>)sender; |
---|
41 | - (BOOL)doPerformDragOperation:(id <NSDraggingInfo>)sender toField:(NSTextField *)theField; |
---|
42 | |
---|
43 | - (void)doJoinChatWithName:(NSString *)inName |
---|
44 | onAccount:(AIAccount *)inAccount |
---|
45 | chatCreationInfo:(NSDictionary *)inInfo |
---|
46 | invitingContacts:(NSArray *)contactsToInvite |
---|
47 | withInvitationMessage:(NSString *)invitationMessage; |
---|
48 | - (NSArray *)contactsFromNamesSeparatedByCommas:(NSString *)namesSeparatedByCommas onAccount:(AIAccount *)inAccount; |
---|
49 | |
---|
50 | - (void)setDelegate:(id)inDelegate; |
---|
51 | - (id)delegate; |
---|
52 | |
---|
53 | //roomlistWindowController delegate |
---|
54 | - (void)setSharedChatInstance:(id)newInstance; |
---|
55 | - (id)sharedChatInstance; |
---|
56 | @end |
---|
57 | |
---|
58 | |
---|