Now, groups can retrieve a list of the contacts in that group. I probably should...
[adiumx.git] / Source / Logorrhea / Buddy.h
blob22ab02aa97562aa4e6d058ce8ce072f83c672880
1 //
2 // Buddy.h
3 // Logtastic
4 //
5 // Created by Jan Van Tol on Sat Dec 14 2002.
6 // Copyright (c) 2002 Spiny Software. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import "Chat.h"
12 @class Chat;
14 @interface Buddy : NSObject {
15 NSString *myName;
16 NSMutableArray *chats;
19 - (id)initWithName:(NSString *)name;
20 - (unsigned)numberOfChats;
21 - (Chat *)chatAtIndex:(int)index;
22 - (NSMutableArray *)chatsWithString:(NSString *)string;
23 - (id) addChatFile:(NSString *)pathToLog;
24 - (void) doSort;
25 - (NSComparisonResult)caseInsensitiveCompare:(id)anObject;
26 - (void) deleteChat:(Chat *) c;
28 @end