-
Notifications
You must be signed in to change notification settings - Fork 3
/
RosterController.h
30 lines (28 loc) · 1017 Bytes
/
RosterController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// RosterController.h
// Jabber
//
// Created by David Chisnall on Mon Apr 26 2004.
// Copyright (c) 2004 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <XMPPKit/XMPPRoster.h>
#import <XMPPKit/XMPPAccount.h>
#import <XMPPKit/XMPPPresence.h>
@interface RosterController : NSWindowController <RosterDelegate, XMPPPresenceDisplay> {
unsigned char presence;
XMPPRoster * roster;
XMPPAccount * account;
__unsafe_unretained IBOutlet NSOutlineView * view;
__unsafe_unretained IBOutlet NSTableColumn * avatarColumn;
__unsafe_unretained IBOutlet NSTableColumn * column;
__unsafe_unretained IBOutlet NSPopUpButton * presenceBox;
__unsafe_unretained IBOutlet NSTextField * statusBox;
}
- (id) initWithNibName:(NSString*)_nib forAccount:(id)_account withRoster:(id)_roster;
- (void) updatePresence:(NSNotification*)_notification;
- (IBAction) click:(id)sender;
- (IBAction) changePresence:(id)sender;
- (IBAction) remove:(id)sender;
- (NSString*) currentStatusMessage;
@end