Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (28 sloc) 844 Bytes
// DaemonController.h
// mongodb.prefpane
// Created by Max Howell
// 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/"
@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;