blob: 7885bed94f2c614b8b262fa72c4187ee5d42292d (
plain) (
blame)
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
|
//
// LaunchArg.h
// Pcsxr
//
// Created by C.W. Betts on 7/8/13.
//
//
#import <Foundation/Foundation.h>
#import "ARCBridge.h"
typedef enum _LaunchArgOrder {
LaunchArgPreRun = 0,
LaunchArgRun = 200,
LaunchArgPostRun = 400
}LaunchArgOrder;
@interface LaunchArg : NSObject
{
LaunchArgOrder _launchOrder;
dispatch_block_t _theBlock;
NSString *_argument;
}
@property (readonly) LaunchArgOrder launchOrder;
@property (readonly, copy, nonatomic) dispatch_block_t theBlock;
@property (readonly, arcretain) NSString *argument;
- (id)initWithLaunchOrder:(LaunchArgOrder)order block:(dispatch_block_t)block argument:(NSString*)arg;
- (void)addToDictionary:(NSMutableDictionary*)toAdd;
@end
|