d6942932d6
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
26 lines
669 B
Objective-C
26 lines
669 B
Objective-C
//
|
|
// LaunchArg.h
|
|
// Pcsxr
|
|
//
|
|
// Created by C.W. Betts on 7/8/13.
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
typedef enum _LaunchArgOrder {
|
|
LaunchArgPreRun = 0,
|
|
LaunchArgRun = 200,
|
|
LaunchArgPostRun = 400
|
|
}LaunchArgOrder;
|
|
|
|
@interface LaunchArg : NSObject
|
|
@property (readonly) unsigned launchOrder;
|
|
@property (readonly, copy, nonatomic) dispatch_block_t theBlock;
|
|
@property (readonly, strong) NSString *argument;
|
|
|
|
- (id)initWithLaunchOrder:(unsigned)order block:(dispatch_block_t)block argument:(NSString*)arg;
|
|
- (id)initWithLaunchOrder:(unsigned)order argument:(NSString*)arg block:(dispatch_block_t)block;
|
|
- (void)addToDictionary:(NSMutableDictionary*)toAdd;
|
|
@end
|