Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (28 sloc) 844 Bytes
//
// DaemonController.h
// mongodb.prefpane
//
// Created by Max Howell http://github.com/mxcl/playdar.prefpane
// Modified by Iván Valdés
//
#import <Cocoa/Cocoa.h>
// Allows you to specify your mongod binary location, just in case you have it in a weird place
// like /fruity/loops/mongod :)
#define MONGOD_LOCATION @"/Users/andrew/Library/PreferencePanes/Jenkins.prefPane/Contents/Resources/runJenkins.sh"
@interface DaemonController : NSObject
{
id delegate;
NSTask *daemon_task;
NSTimer *poll_timer;
NSTimer *check_startup_status_timer;
pid_t pid;
NSString *arguments;
NSString *location;
}
@property (nonatomic, retain) NSString *arguments;
-(id)initWithDelegate:(id)theDelegate andArguments:(NSString *)theArguments;
-(void)start;
-(void)stop;
-(bool)locateBinary;
-(bool)isRunning;
@end
Something went wrong with that request. Please try again.