]> git.wincent.com - fusion-crash-reporter.git/commitdiff
Add WOFCrashReporter and set it up as principal class
authorWincent Colaiuta <win@wincent.com>
Sun, 7 Nov 2010 21:24:58 +0000 (22:24 +0100)
committerWincent Colaiuta <win@wincent.com>
Sun, 7 Nov 2010 21:24:58 +0000 (22:24 +0100)
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Info.plist
WOFCrashReporter.h [new file with mode: 0644]
WOFCrashReporter.m [new file with mode: 0644]
fusion-crash-reporter.xcodeproj/project.pbxproj

index 2bd8054dd2a6abed5cc97c9512900bd69e243576..8e5af537f283b234eb8c897c3031ac2151edd833 100644 (file)
@@ -23,6 +23,6 @@
        <key>CFBundleShortVersionString</key>
        <string>1.0</string>
        <key>NSPrincipalClass</key>
-       <string></string>
+       <string>WOFCrashReporter</string>
 </dict>
 </plist>
diff --git a/WOFCrashReporter.h b/WOFCrashReporter.h
new file mode 100644 (file)
index 0000000..3a4ffcd
--- /dev/null
@@ -0,0 +1,33 @@
+// WOFCrashReporter.h
+// Copyright 2010 Wincent Colaiuta. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice,
+//    this list of conditions and the following disclaimer.
+// 2. Redistributions in binary form must reproduce the above copyright notice,
+//    this list of conditions and the following disclaimer in the documentation
+//    and/or other materials provided with the distribution.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
+// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+// POSSIBILITY OF SUCH DAMAGE.
+
+#import <Cocoa/Cocoa.h>
+
+#import "Fusion/Fusion.h"
+
+@interface WOFCrashReporter : NSObject <WOFPlugInProtocol> {
+
+}
+
+@end
diff --git a/WOFCrashReporter.m b/WOFCrashReporter.m
new file mode 100644 (file)
index 0000000..1eeb6a3
--- /dev/null
@@ -0,0 +1,29 @@
+// WOFCrashReporter.m
+// Copyright 2010 Wincent Colaiuta. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice,
+//    this list of conditions and the following disclaimer.
+// 2. Redistributions in binary form must reproduce the above copyright notice,
+//    this list of conditions and the following disclaimer in the documentation
+//    and/or other materials provided with the distribution.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
+// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+// POSSIBILITY OF SUCH DAMAGE.
+
+#import "WOFCrashReporter.h"
+
+@implementation WOFCrashReporter
+
+@end
index 1ed737bdaff28f7c38674c0abd97c67331ee7613..56a1d1e5d5e98a1915942e319177e8938784097f 100644 (file)
@@ -9,6 +9,7 @@
 /* Begin PBXBuildFile section */
                8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
                8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; };
+               BC506CFE12875047006F0550 /* WOFCrashReporter.m in Sources */ = {isa = PBXBuildFile; fileRef = BC506CFD12875047006F0550 /* WOFCrashReporter.m */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXFileReference section */
@@ -23,6 +24,8 @@
                BC506CE712874F7D006F0550 /* loadable-bundle-target.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "loadable-bundle-target.xcconfig"; path = "buildtools/loadable-bundle-target.xcconfig"; sourceTree = "<group>"; };
                BC506CE812874F7D006F0550 /* release-style.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "release-style.xcconfig"; path = "buildtools/release-style.xcconfig"; sourceTree = "<group>"; };
                BC506CF712874FC0006F0550 /* fusion-plugin-target.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "fusion-plugin-target.xcconfig"; path = "../fusion/fusion-plugin-target.xcconfig"; sourceTree = SOURCE_ROOT; };
+               BC506CFC12875047006F0550 /* WOFCrashReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WOFCrashReporter.h; sourceTree = "<group>"; };
+               BC506CFD12875047006F0550 /* WOFCrashReporter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WOFCrashReporter.m; sourceTree = "<group>"; };
                BC7DE6A212874C1D0027C712 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
                D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
 /* End PBXFileReference section */
@@ -74,6 +77,8 @@
                08FB77AFFE84173DC02AAC07 /* Classes */ = {
                        isa = PBXGroup;
                        children = (
+                               BC506CFC12875047006F0550 /* WOFCrashReporter.h */,
+                               BC506CFD12875047006F0550 /* WOFCrashReporter.m */,
                        );
                        name = Classes;
                        sourceTree = "<group>";
                        isa = PBXSourcesBuildPhase;
                        buildActionMask = 2147483647;
                        files = (
+                               BC506CFE12875047006F0550 /* WOFCrashReporter.m in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };