-
Notifications
You must be signed in to change notification settings - Fork 40
/
TVOutManager.h
38 lines (29 loc) · 876 Bytes
/
TVOutManager.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
//
// TVOutManager.h
// TVOutOS4Test
//
// Created by Rob Terrell ([email protected]) on 8/16/10.
// Copyright 2010 TouchCentric LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TVOutManager : NSObject {
UIWindow* deviceWindow;
UIWindow* tvoutWindow;
NSTimer *updateTimer;
UIImage *image;
UIImageView *mirrorView;
BOOL done;
BOOL tvSafeMode;
CGAffineTransform startingTransform;
}
@property(assign) BOOL tvSafeMode;
+ (TVOutManager *)sharedInstance;
- (void) startTVOut;
- (void) stopTVOut;
- (void) updateTVOut;
- (void) updateLoop;
- (void) screenDidConnectNotification: (NSNotification*) notification;
- (void) screenDidDisconnectNotification: (NSNotification*) notification;
- (void) screenModeDidChangeNotification: (NSNotification*) notification;
- (void) deviceOrientationDidChange: (NSNotification*) notification;
@end