Skip to content

Commit 55397f2

Browse files
committed
Renaming the DaemonController class
1 parent 5687ffc commit 55397f2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Classes/DaemonController.h renamed to Classes/FFYDaemonController.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// DaemonController.h
2+
// FFYDaemonController.h
33
// mongodb.prefpane
44
//
55
// Based in DaemonController by Max Howell. Released under GNU GPL v3.
@@ -15,7 +15,7 @@ typedef void (^DaemonIsStopping)();
1515
typedef void (^DaemonFailedToStart)(NSString *);
1616
typedef void (^DaemonFailedToStop)(NSString *);
1717

18-
@interface DaemonController : NSObject {
18+
@interface FFYDaemonController : NSObject {
1919
NSArray *startArguments;
2020
NSArray *stopArguments;
2121
NSString *launchPath;

Classes/DaemonController.m renamed to Classes/FFYDaemonController.m

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// <!-- DaemonController -->
2+
// <!-- FFYDaemonController -->
33
// Based in *DaemonController* by [Max Howell](http://github.com/mxcl/playdar.prefpane).
44
//
55

@@ -10,18 +10,18 @@
1010

1111
// ## Installation
1212
//
13-
// To install, just add the DaemonController.h and DaemonController.m files to your
14-
// project. Then, be shure to add DaemonController.m to your selected target.
13+
// To install, just add the FFYDaemonController.h and FFYDaemonController.m files to your
14+
// project. Then, be shure to add FFYDaemonController.m to your selected target.
1515

1616
// ## Usage
1717
//
18-
// Just include the DaemonController.h file in your Class:
18+
// Just include the FFYDaemonController.h file in your Class:
1919
//
20-
// include "DaemonController.h";
20+
// include "FFYDaemonController.h";
2121
//
2222
// Then, create an instance of it
2323
//
24-
// DaemonController *daemonController = [[DaemonController alloc]
24+
// FFYDaemonController *daemonController = [[FFYDaemonController alloc]
2525
// init];
2626
//
2727
// Set the launch path for the Daemon to watch:
@@ -53,7 +53,7 @@
5353
// [dct]: #section-Control_Tasks
5454

5555
#import <sys/sysctl.h>
56-
#import "DaemonController.h"
56+
#import "FFYDaemonController.h"
5757

5858
// ## Hidden Methods
5959
//
@@ -66,7 +66,7 @@
6666
//
6767
// The daemon task holds the active task, in case that the daemon was initialized by us.
6868
//
69-
@interface DaemonController(/* Hidden Methods */)
69+
@interface FFYDaemonController(/* Hidden Methods */)
7070
@property (nonatomic, retain) NSString *binaryName;
7171
@property (nonatomic, retain) NSTimer *pollTimer;
7272
@property (nonatomic, retain) NSTask *daemonTask;
@@ -155,7 +155,7 @@ static inline CFFileDescriptorRef kqueue_watch_pid(pid_t pid, id self) {
155155
//
156156
// There's three properties that are important in order to start, stop, run and monitor
157157
// a daemon.
158-
@implementation DaemonController
158+
@implementation FFYDaemonController
159159
// The launchPath is the daemon binary's absolute location.
160160
@synthesize launchPath;
161161
// If the daemon needs any special arguments to be started, this is the array where

0 commit comments

Comments
 (0)