-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVNCPreferences.h
65 lines (50 loc) · 1.43 KB
/
VNCPreferences.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
//
// VNCPreferences.h
// vnsea
//
// Created by Chris Reed on 11/17/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
//! @name Preference Keys
//@{
//! Key for the mouse tracks preference.
extern NSString * kShowMouseTracksPrefKey;
//! Key for the disconnect on suspend preference.
extern NSString * kDisconnectOnSuspendPrefKey;
//! Key for the mouse down delay preference.
extern NSString * kMouseDownDelayPrefKey;
//! Length of time that mouse tracks are visible.
extern NSString * kMouseTracksFadeTimePrefKey;
//! Whether to display the scrolling icon.
extern NSString * kShowScrollingIconPrefKey;
//! Whether to display the scale percent while zooming.
extern NSString * kShowZoomPercentPrefKey;
//@}
/*!
* @brief Shared preferences class.
*/
@interface VNCPreferences : NSObject
{
}
//! @brief Returns the single shared instance of the VNCPreferences class.
+ (VNCPreferences *)sharedPreferences;
//! @name Getters
//@{
- (BOOL)showMouseTracks;
- (BOOL)disconnectOnSuspend;
- (float)mouseDownDelay;
- (float)mouseTracksFadeTime;
- (BOOL)showScrollingIcon;
- (BOOL)showZoomPercent;
//@}
//! @name Setters
//@{
- (void)setShowMouseTracks:(BOOL)showTracks;
- (void)setDisconnectOnSuspend:(BOOL)disconnect;
- (void)setMouseDownDelay:(float)delay;
- (void)setMouseTracksFadeTime:(float)fadeTime;
- (BOOL)setShowScrollingIcon:(BOOL)showIcon;
- (BOOL)setShowZoomPercent:(BOOL)showPercent;
//@}
@end