Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8e3203f9dc
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (14 sloc) 0.451 kB
#import <Foundation/Foundation.h>
@interface CLI : NSObject {
AuthorizationRef authorizationRef;
NSString *pathToCLI;
}
@property (retain) NSString *pathToCLI;
+ (id)sharedInstance;
- (NSArray *)listApplications;
- (Boolean)executeCommand:(NSString *)pathToCommand withArgs:(NSArray *)arguments;
- (AuthorizationRef) authorizationRef;
- (void) setAuthorizationRef:(AuthorizationRef)ref;
- (void)deauthorize;
- (Boolean)isAuthorized;
@end
Jump to Line
Something went wrong with that request. Please try again.