-
Notifications
You must be signed in to change notification settings - Fork 0
/
VNCPrefsView.h
55 lines (43 loc) · 1.22 KB
/
VNCPrefsView.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
//
// VNCPrefsView.h
// vnsea
//
// Created by Glenn Kreisel on 11/3/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <UIKit/UIPreferencesTable.h>
#import <UIKit/UISwitchControl.h>
#import <UIKit/UIPreferencesDeleteTableCell.h>
#import <UIKit/UISegmentedControl.h>
#import "VNCScrollerView.h"
//! @brief Array indices for the preferences table cells.
enum _prefs_cell_indices
{
kMouseDownUpTracksIndex
};
/*!
* @brief This view class allows users to edit global preferences.
*/
@interface VNCPrefsView : UIView
{
UINavigationBar * _navBar;
UIPreferencesTable * _table;
id _delegate;
NSArray * _cells;
UISwitchControl * _mouseTracksSwitch;
UISwitchControl * _disconnectSwitch;
UISwitchControl * _showScrollIconSwitch;
UISwitchControl * _showZoomPercentSwitch;
}
- (id)initWithFrame:(CGRect)frame;
- (void)setDelegate:(id)newDelegate;
- (id)delegate;
//! @brief Tells the receiver to update view controls based on current preference settings.
- (void)updateViewFromPreferences;
- (void)setKeyboardVisible:(BOOL)visible;
@end
@interface VNCPrefsView (DelegateMethods)
//! @brief Sent to the delegate when editing of preferences is finished.
- (void)finishedEditingPreferences;
@end