aboutsummaryrefslogtreecommitdiffstats
path: root/BatchDMG.m
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2010-11-13 18:41:46 +0200
committerFilipp Lepalaan <filipp@mac.com>2010-11-13 18:41:46 +0200
commit26ee00682b32b6d75a531688fa297123f1f50e9b (patch)
tree5bb705cf0f60a29a854c8480b0e8573db304fe1d /BatchDMG.m
parentcbe9ef8fb5767f7eb422cb665a2d37e20c6ff7ff (diff)
downloadBatchDMG-26ee00682b32b6d75a531688fa297123f1f50e9b.tar.gz
BatchDMG-26ee00682b32b6d75a531688fa297123f1f50e9b.tar.bz2
BatchDMG-26ee00682b32b6d75a531688fa297123f1f50e9b.zip
Added readme
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];