aboutsummaryrefslogtreecommitdiffstats
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
parentcbe9ef8fb5767f7eb422cb665a2d37e20c6ff7ff (diff)
downloadBatchDMG-26ee00682b32b6d75a531688fa297123f1f50e9b.tar.gz
BatchDMG-26ee00682b32b6d75a531688fa297123f1f50e9b.tar.bz2
BatchDMG-26ee00682b32b6d75a531688fa297123f1f50e9b.zip
Added readme
-rw-r--r--.gitignore1
-rwxr-xr-xBatchDMG.m14
-rw-r--r--BatchDMG.xcodeproj/filipp.pbxuser79
-rw-r--r--Readme.md21
4 files changed, 99 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index e81adc3..379cd4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
.DS_Store
build/*
+*.pbxuser \ No newline at end of file
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];
diff --git a/BatchDMG.xcodeproj/filipp.pbxuser b/BatchDMG.xcodeproj/filipp.pbxuser
index e20e0e4..d58daf3 100644
--- a/BatchDMG.xcodeproj/filipp.pbxuser
+++ b/BatchDMG.xcodeproj/filipp.pbxuser
@@ -22,6 +22,11 @@
C2B7A454128EE99600B3368C /* PBXTextBookmark */ = C2B7A454128EE99600B3368C /* PBXTextBookmark */;
C2B7A45B128EECFA00B3368C /* PBXTextBookmark */ = C2B7A45B128EECFA00B3368C /* PBXTextBookmark */;
C2B7A468128EEDAC00B3368C /* PBXTextBookmark */ = C2B7A468128EEDAC00B3368C /* PBXTextBookmark */;
+ C2B7A46C128EF4F800B3368C /* PBXTextBookmark */ = C2B7A46C128EF4F800B3368C /* PBXTextBookmark */;
+ C2B7A46D128EF4FE00B3368C /* PBXTextBookmark */ = C2B7A46D128EF4FE00B3368C /* PBXTextBookmark */;
+ C2B7A46E128EF5CE00B3368C /* PBXTextBookmark */ = C2B7A46E128EF5CE00B3368C /* PBXTextBookmark */;
+ C2B7A46F128EF61200B3368C /* PBXTextBookmark */ = C2B7A46F128EF61200B3368C /* PBXTextBookmark */;
+ C2B7A470128EF6FA00B3368C /* PBXTextBookmark */ = C2B7A470128EF6FA00B3368C /* PBXTextBookmark */;
};
sourceControlManager = C28049AD128A0C3B000C37B1 /* Source Control */;
userBuildSettings = {
@@ -29,9 +34,9 @@
};
08FB7796FE84155DC02AAC07 /* BatchDMG.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {752, 1833}}";
- sepNavSelRange = "{1261, 0}";
- sepNavVisRange = "{401, 1582}";
+ sepNavIntBoundsRect = "{{0, 0}, {752, 1885}}";
+ sepNavSelRange = "{327, 0}";
+ sepNavVisRange = "{763, 1597}";
sepNavWindowFrame = "{{654, 0}, {738, 878}}";
};
};
@@ -91,7 +96,7 @@
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
rLen = 0;
- rLoc = 3377;
+ rLoc = 3812;
rType = 0;
};
C28049CC128D5C57000C37B1 /* PBXTextBookmark */ = {
@@ -99,7 +104,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 131";
rLen = 0;
- rLoc = 3377;
+ rLoc = 3812;
rType = 0;
vrLen = 1331;
vrLoc = 1449;
@@ -109,7 +114,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 131";
rLen = 0;
- rLoc = 3377;
+ rLoc = 3812;
rType = 0;
vrLen = 1329;
vrLoc = 1449;
@@ -119,7 +124,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 115";
rLen = 0;
- rLoc = 3144;
+ rLoc = 3580;
rType = 0;
vrLen = 1357;
vrLoc = 1550;
@@ -129,7 +134,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 65";
rLen = 0;
- rLoc = 1614;
+ rLoc = 2050;
rType = 0;
vrLen = 1483;
vrLoc = 968;
@@ -139,7 +144,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 73";
rLen = 0;
- rLoc = 1879;
+ rLoc = 2315;
rType = 0;
vrLen = 1508;
vrLoc = 1063;
@@ -149,7 +154,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 82";
rLen = 0;
- rLoc = 2149;
+ rLoc = 2585;
rType = 0;
vrLen = 1561;
vrLoc = 984;
@@ -159,7 +164,7 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 52";
rLen = 0;
- rLoc = 1181;
+ rLoc = 1617;
rType = 0;
vrLen = 1477;
vrLoc = 289;
@@ -169,9 +174,59 @@
fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
name = "BatchDMG.m: 53";
rLen = 0;
- rLoc = 1237;
+ rLoc = 1673;
rType = 0;
vrLen = 1582;
vrLoc = 401;
};
+ C2B7A46C128EF4F800B3368C /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
+ name = "BatchDMG.m: 72";
+ rLen = 0;
+ rLoc = 2315;
+ rType = 0;
+ vrLen = 1593;
+ vrLoc = 401;
+ };
+ C2B7A46D128EF4FE00B3368C /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
+ name = "BatchDMG.m: 72";
+ rLen = 0;
+ rLoc = 2315;
+ rType = 0;
+ vrLen = 1592;
+ vrLoc = 401;
+ };
+ C2B7A46E128EF5CE00B3368C /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
+ name = "BatchDMG.m: 124";
+ rLen = 0;
+ rLoc = 3619;
+ rType = 0;
+ vrLen = 1185;
+ vrLoc = 2191;
+ };
+ C2B7A46F128EF61200B3368C /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
+ name = "BatchDMG.m: 6";
+ rLen = 0;
+ rLoc = 489;
+ rType = 0;
+ vrLen = 1381;
+ vrLoc = 90;
+ };
+ C2B7A470128EF6FA00B3368C /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 08FB7796FE84155DC02AAC07 /* BatchDMG.m */;
+ name = "BatchDMG.m: 6";
+ rLen = 0;
+ rLoc = 327;
+ rType = 0;
+ vrLen = 1597;
+ vrLoc = 763;
+ };
}
diff --git a/Readme.md b/Readme.md
new file mode 100644
index 0000000..a8c3f16
--- /dev/null
+++ b/Readme.md
@@ -0,0 +1,21 @@
+## Description
+BatchDMG is a tool for ripping large collections of discs. Just start the tool and keep
+inserting discs. The disc is ejected after a rip.
+
+You can use as many optical drives as you want. :-)
+
+
+## License
+DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.