forked from square/WaxSim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Simulator.h
36 lines (29 loc) · 907 Bytes
/
Simulator.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
//
// Simulator.h
// Sim
//
// Created by ProbablyInteractive on 7/28/09.
// Copyright 2009 Probably Interactive. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "iPhoneSimulatorRemoteClient.h"
@class DTiPhoneSimulatorSystemRoot;
@interface Simulator : NSObject <DTiPhoneSimulatorSessionDelegate> {
NSString *_appPath;
DTiPhoneSimulatorSystemRoot *_sdk;
NSNumber *_family;
DTiPhoneSimulatorSession* _session;
NSDictionary *_env;
NSString *_videoPath;
NSArray *_args;
CGWindowID _windowID;
QTMovie *_movie;
NSTimeInterval _lastInterval;
}
@property (nonatomic, readonly) DTiPhoneSimulatorSession* session;
+ (NSArray *)availableSDKs;
- (id)initWithAppPath:(NSString *)appPath sdk:(NSString *)sdk family:(NSString *)family video:(NSString *)videoPath env:(NSDictionary *)env args:(NSArray *)args;
- (int)launch;
- (void)addScreenshotToMovie;
- (void)end;
@end