-
-
Notifications
You must be signed in to change notification settings - Fork 134
/
TPLocalHost.h
43 lines (32 loc) · 1.04 KB
/
TPLocalHost.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
//
// TPLocalHost.h
// teleport
//
// Created by JuL on Fri Feb 27 2004.
// Copyright (c) 2003-2005 abyssoft. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TPHost.h"
@interface TPLocalHost : TPHost
{
NSArray * _potentialIdentities;
NSMutableArray * _backgroundImages;
}
+ (TPLocalHost*)localHost;
@property (nonatomic, readonly, copy) NSArray *potentialIdentities;
@property (nonatomic) SecIdentityRef identity;
@property (nonatomic, readonly) BOOL hasIdentity;
- (void)resetIdentity;
- (void)reloadIdentity;
@property (nonatomic, readonly, copy) NSString *bonjourName;
@property (nonatomic, readonly, strong) NSScreen *mainScreen;
- (NSScreen*)sharedScreen;
- (void)setSharedScreenIndex:(unsigned)screenIndex;
- (unsigned)sharedScreenIndex;
- (void)wakeUpScreen;
- (void)sleepScreen;
- (NSImage*)backgroundImageForScreen:(NSScreen*)screen;
- (void)checkCapabilities;
@property (nonatomic, getter=isAccessibilityAPIEnabled, readonly) BOOL accessibilityAPIEnabled;
@property (nonatomic, readonly) BOOL checkAccessibility;
@end