Skip to content
Browse files

Starting work.

  • Loading branch information...
1 parent b875d25 commit 994620ea129a1c40d40d93d2147285be71a6d741 Peter Hosey committed Oct 29, 2011
View
10 icon-extract.xcodeproj/project.pbxproj
@@ -9,6 +9,8 @@
/* Begin PBXBuildFile section */
31067A13145C667500509BE2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31067A12145C667500509BE2 /* Foundation.framework */; };
31067A16145C667500509BE2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 31067A15145C667500509BE2 /* main.m */; };
+ 31067A22145C67D400509BE2 /* PRHExtractIconFromFileOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 31067A21145C67D400509BE2 /* PRHExtractIconFromFileOperation.m */; };
+ 31067A24145C682A00509BE2 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31067A23145C682A00509BE2 /* Carbon.framework */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -28,13 +30,17 @@
31067A12145C667500509BE2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
31067A15145C667500509BE2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
31067A18145C667500509BE2 /* icon-extract-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "icon-extract-Prefix.pch"; sourceTree = "<group>"; };
+ 31067A20145C67D400509BE2 /* PRHExtractIconFromFileOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PRHExtractIconFromFileOperation.h; sourceTree = "<group>"; };
+ 31067A21145C67D400509BE2 /* PRHExtractIconFromFileOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PRHExtractIconFromFileOperation.m; sourceTree = "<group>"; };
+ 31067A23145C682A00509BE2 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = System/Library/Frameworks/Carbon.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
31067A0B145C667500509BE2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 31067A24145C682A00509BE2 /* Carbon.framework in Frameworks */,
31067A13145C667500509BE2 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -63,6 +69,7 @@
isa = PBXGroup;
children = (
31067A12145C667500509BE2 /* Foundation.framework */,
+ 31067A23145C682A00509BE2 /* Carbon.framework */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -72,6 +79,8 @@
children = (
31067A15145C667500509BE2 /* main.m */,
31067A17145C667500509BE2 /* Supporting Files */,
+ 31067A20145C67D400509BE2 /* PRHExtractIconFromFileOperation.h */,
+ 31067A21145C67D400509BE2 /* PRHExtractIconFromFileOperation.m */,
);
path = "icon-extract";
sourceTree = "<group>";
@@ -135,6 +144,7 @@
buildActionMask = 2147483647;
files = (
31067A16145C667500509BE2 /* main.m in Sources */,
+ 31067A22145C67D400509BE2 /* PRHExtractIconFromFileOperation.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
13 icon-extract/PRHExtractIconFromFileOperation.h
@@ -0,0 +1,13 @@
+//
+// PRHExtractIconFromFileOperation.h
+// icon-extract
+//
+// Created by Peter Hosey on 2011-10-29.
+// Copyright (c) 2011 Peter Hosey. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface PRHExtractIconFromFileOperation : NSOperation
+
+@end
View
13 icon-extract/PRHExtractIconFromFileOperation.m
@@ -0,0 +1,13 @@
+//
+// PRHExtractIconFromFileOperation.m
+// icon-extract
+//
+// Created by Peter Hosey on 2011-10-29.
+// Copyright (c) 2011 Peter Hosey. All rights reserved.
+//
+
+#import "PRHExtractIconFromFileOperation.h"
+
+@implementation PRHExtractIconFromFileOperation
+
+@end
View
4 icon-extract/icon-extract-Prefix.pch
@@ -2,6 +2,8 @@
// Prefix header for all source files of the 'icon-extract' target in the 'icon-extract' project
//
+#include <stdbool.h>
#ifdef __OBJC__
- #import <Foundation/Foundation.h>
+# import <Foundation/Foundation.h>
#endif
+#include <Carbon/Carbon.h>
View
15 icon-extract/main.m
@@ -3,20 +3,13 @@
// icon-extract
//
// Created by Peter Hosey on 2011-10-29.
-// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+// Copyright (c) 2011 Peter Hosey. All rights reserved.
//
-#import <Foundation/Foundation.h>
-
-int main (int argc, const char * argv[])
-{
-
+int main (int argc, char **argv) {
@autoreleasepool {
-
- // insert code here...
- NSLog(@"Hello, World!");
-
+
}
- return 0;
+ return EXIT_SUCCESS;
}

0 comments on commit 994620e

Please sign in to comment.
Something went wrong with that request. Please try again.