-
Notifications
You must be signed in to change notification settings - Fork 0
/
VNCServerListView.h
68 lines (53 loc) · 1.21 KB
/
VNCServerListView.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
// VNCServerListView.h
// vnsea
//
// Created by Chris Reed on 9/9/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreGraphics/CoreGraphics.h>
#import "ServerBase.h"
//! @brief Style constants for table cell disclosure buttons.
enum _disclosure_style
{
kDisclosureStyleDefault = 0,
kDisclosureStyleButton
};
//! @brief Navigation bar button indices.
enum _server_list_navbar_buttons
{
kNavBarAddServerButton = 0
};
/*!
* @brief This view manages an editble list of servers.
*/
@interface VNCServerListView : UIView
{
id _delegate;
id _navBar;
id _serverTable;
id _serverColumn;
id _serverLastConnectColumn;
id _buttonBar;
id _addButton;
id _preferencesButton;
id _aboutButton;
CGColorRef _textColorDateTime;
NSArray * _servers;
GSFontRef _lastConnectFont;
}
- (void)setDelegate:(id)newDelegate;
- (id)delegate;
- (void)setServerList:(NSArray *)list;
- (void)addNewServer:(id)sender;
- (void)showPreferences:(id)sender;
- (void)showAbout:(id)sender;
@end
@interface VNCServerListView (DelegateMethods)
- (void)serverSelected:(int)serverIndex;
- (void)editServer:(int)serverIndex;
- (void)addNewServer;
- (void)displayPrefs;
- (void)displayAbout;
@end