Sha256: c73e91f23f56f242c679571cf9ea98203dd27a49993a09fb967a4ef10f54434b

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

#import <Foundation/Foundation.h>

#import "api_generator/iphone/IMethodResult.h"


// hash keys used in properties and parameters


@protocol IProcess <NSObject>


/* WaitForApplication. */
-(void) waitForApplication:(id<IMethodResult>)methodResult;

/* Close process handle. */
-(void) closeHandle:(id<IMethodResult>)methodResult;

/* GetProcessExitCode. */
-(void) getProcessExitCode:(id<IMethodResult>)methodResult;


// NOTE: if you want to hold methodResult(for example periodically call callbacks) you should release it manually when you stop using it!
@end


@protocol IProcessSingleton <NSObject>




/* Run an application. */
-(void) runApplication:(NSString*)appName params:(NSString*)params blockingCall:(BOOL)blockingCall methodResult:(id<IMethodResult>)methodResult;


@end


@protocol IProcessFactory <NSObject>
-(id<IProcessSingleton>) getProcessSingleton;
-(id<IProcess>) getProcessByID:(NSString*)ID;
-(void) destroyObjectByID:(NSString*)ID;
-(NSArray*) enumerateProcessInstances;
@end


@interface ProcessFactorySingleton : NSObject {
}
+(id<IProcessFactory>) getProcessFactoryInstance;
@end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/platform/iphone/generated/IProcess.h