root/trunk/Inspectors/JVChatUserInspector.h

Revision 3512, 1.4 kB (checked in by timothy, 2 years ago)

Fixes the local time reported in Get Info when the client's reply includes the timezone offset. #888

Line 
1 #import "JVChatRoomMember.h"
2 #import "JVDirectChatPanel.h"
3 #import "JVInspectorController.h"
4
5 @interface JVDirectChatPanel (JVDirectChatPanelInspection) <JVInspection>
6 - (id <JVInspector>) inspector;
7 @end
8
9 @interface JVChatRoomMember (JVChatRoomMemberInspection) <JVInspection>
10 - (id <JVInspector>) inspector;
11 @end
12
13 @interface MVChatUser (MVChatUserInspection) <JVInspection>
14 - (id <JVInspector>) inspector;
15 @end
16
17 @interface JVChatUserInspector : NSObject <JVInspector> {
18         IBOutlet NSView *view;
19         IBOutlet NSImageView *image;
20         IBOutlet NSTextField *nickname;
21         IBOutlet NSProgressIndicator *progress;
22         IBOutlet NSTextField *class;
23         IBOutlet NSTextField *away;
24         IBOutlet NSTextField *address;
25         IBOutlet NSTextField *hostname;
26         IBOutlet NSTextField *username;
27         IBOutlet NSTextField *realName;
28         IBOutlet NSTextField *server;
29         IBOutlet NSTextField *rooms;
30         IBOutlet NSTextField *connected;
31         IBOutlet NSTextField *idle;
32         IBOutlet NSTextField *ping;
33         IBOutlet NSButton *sendPing;
34         IBOutlet NSTextField *localTime;
35         IBOutlet NSButton *requestTime;
36         IBOutlet NSTextField *clientInfo;
37         IBOutlet NSButton *requestInfo;
38         MVChatUser *_user;
39         NSDate *_localTimeUpdated;
40         NSTimer *_localTimeUpdateTimer;
41         NSTimer *_updateTimer;
42         BOOL _nibLoaded;
43         BOOL _addressResolved;
44 }
45 - (id) initWithChatUser:(MVChatUser *) user;
46 - (void) updateLocalTime;
47
48 - (IBAction) requestLocalTime:(id) sender;
49 - (IBAction) requestClientInfo:(id) sender;
50 @end
Note: See TracBrowser for help on using the browser.