aboutsummaryrefslogtreecommitdiffstats
path: root/BatchDMG.m
diff options
context:
space:
mode:
Diffstat (limited to 'BatchDMG.m')
-rwxr-xr-xBatchDMG.m14
1 files changed, 10 insertions, 4 deletions
diff --git a/BatchDMG.m b/BatchDMG.m
index 078d978..439ef2c 100755
--- a/BatchDMG.m
+++ b/BatchDMG.m
@@ -1,11 +1,17 @@
+/* This program is free software. It comes without any warranty, to
+ * the extent permitted by applicable law. You can redistribute it
+ * and/or modify it under the terms of the Do What The Fuck You Want
+ * To Public License, Version 2, as published by Sam Hocevar. See
+ * http://sam.zoy.org/wtfpl/COPYING for more details. */
+
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
@interface Imager : NSObject
{
- BOOL g_observing;
- NSString *destination;
- NSMutableArray *sources;
+ BOOL g_observing; // a flag to let us know if we're imaging
+ NSString *destination; // destination folder
+ NSMutableArray *sources; // list of volumes being imaged
}
- (void)observeWorkspace: (NSNotification*) notification;
@@ -121,7 +127,7 @@
@end
-int main(int argc, const char * argv[])
+int main(int argc, const char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];