From f4630a44be9f0a89b0b3db2b68185005448fbb2a Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Sat, 14 Nov 2009 18:44:36 +0100 Subject: [PATCH] Setup libunrars build properly and now link against the .so & copy it into the Resources folder. --- QuietUnrar.xcodeproj/project.pbxproj | 16 +- QuietUnrar.xcodeproj/rob.mode1v3 | 78 ++++---- QuietUnrar.xcodeproj/rob.pbxuser | 254 +++++++++++++++++++++++++-- QuietUnrarAppDelegate.m | 4 +- 4 files changed, 293 insertions(+), 59 deletions(-) diff --git a/QuietUnrar.xcodeproj/project.pbxproj b/QuietUnrar.xcodeproj/project.pbxproj index d8096c3..affe917 100644 --- a/QuietUnrar.xcodeproj/project.pbxproj +++ b/QuietUnrar.xcodeproj/project.pbxproj @@ -10,6 +10,8 @@ 256AC3DA0F4B6AC300CF3369 /* QuietUnrarAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; }; 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; + D488B9B310AF206000B3451C /* libunrar.so in Frameworks */ = {isa = PBXBuildFile; fileRef = D488B9B210AF206000B3451C /* libunrar.so */; }; + D488BA8110AF216100B3451C /* libunrar.so in Resources */ = {isa = PBXBuildFile; fileRef = D488B9B210AF206000B3451C /* libunrar.so */; }; D4A49691105435BE00BE38AE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; D4A49692105435C100BE38AE /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; }; D4A96E2110545E9A0091ECB4 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D4A96E2010545E9A0091ECB4 /* Carbon.framework */; }; @@ -50,6 +52,7 @@ 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 8D1107310486CEB800E47090 /* QuietUnrar-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "QuietUnrar-Info.plist"; sourceTree = ""; }; 8D1107320486CEB800E47090 /* QuietUnrar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = QuietUnrar.app; sourceTree = BUILT_PRODUCTS_DIR; }; + D488B9B210AF206000B3451C /* libunrar.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libunrar.so; path = libunrar/libunrar.so; sourceTree = ""; }; D4A495741054177300BE38AE /* arccmt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = arccmt.cpp; path = libunrar/arccmt.cpp; sourceTree = ""; }; D4A495751054177300BE38AE /* archive.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = archive.cpp; path = libunrar/archive.cpp; sourceTree = ""; }; D4A495761054177300BE38AE /* archive.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = archive.hpp; path = libunrar/archive.hpp; sourceTree = ""; }; @@ -174,6 +177,7 @@ files = ( 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, D4A96E2110545E9A0091ECB4 /* Carbon.framework in Frameworks */, + D488B9B310AF206000B3451C /* libunrar.so in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -192,6 +196,8 @@ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { isa = PBXGroup; children = ( + D488B9B210AF206000B3451C /* libunrar.so */, + D4A96E2010545E9A0091ECB4 /* Carbon.framework */, 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, ); name = "Linked Frameworks"; @@ -223,7 +229,6 @@ 29B97317FDCFA39411CA2CEA /* Resources */, 29B97323FDCFA39411CA2CEA /* Frameworks */, 19C28FACFE9D520D11CA2CBB /* Products */, - D4A96E2010545E9A0091ECB4 /* Carbon.framework */, ); name = QuietUnrar; sourceTree = ""; @@ -441,6 +446,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + D488BA8110AF216100B3451C /* libunrar.so in Resources */, D4A49692105435C100BE38AE /* MainMenu.xib in Resources */, D4A49691105435BE00BE38AE /* InfoPlist.strings in Resources */, ); @@ -502,6 +508,10 @@ GCC_PREPROCESSOR_DEFINITIONS = _UNIX; INFOPLIST_FILE = "QuietUnrar-Info.plist"; INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/libunrar\"", + ); PRODUCT_NAME = QuietUnrar; }; name = Debug; @@ -517,6 +527,10 @@ GCC_PREPROCESSOR_DEFINITIONS = _UNIX; INFOPLIST_FILE = "QuietUnrar-Info.plist"; INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/libunrar\"", + ); PRODUCT_NAME = QuietUnrar; }; name = Release; diff --git a/QuietUnrar.xcodeproj/rob.mode1v3 b/QuietUnrar.xcodeproj/rob.mode1v3 index 614f4de..d3b83b3 100644 --- a/QuietUnrar.xcodeproj/rob.mode1v3 +++ b/QuietUnrar.xcodeproj/rob.mode1v3 @@ -216,10 +216,10 @@ _historyCapacity 0 bookmark - D4C9D7EB10A9B7A20005973D + D488BA8F10AF23CF00B3451C history - D40FFE21105828A50070BCAF + D4C9D7EB10A9B7A20005973D SplitCount @@ -270,8 +270,6 @@ Layout - BecomeActive - ContentConfiguration PBXBottomSmartGroupGIDs @@ -307,7 +305,6 @@ PBXSmartGroupTreeModuleOutlineStateExpansionKey 29B97314FDCFA39411CA2CEA - 29B97317FDCFA39411CA2CEA 1C37FBAC04509CD000000102 1C37FAAC04509CD000000102 1C37FABC05509CD000000102 @@ -315,12 +312,12 @@ PBXSmartGroupTreeModuleOutlineStateSelectionKey - 14 - 13 + 1 + 0 PBXSmartGroupTreeModuleOutlineStateVisibleRectKey - {{0, 0}, {186, 610}} + {{0, 0}, {186, 658}} PBXTopSmartGroupGIDs @@ -332,14 +329,14 @@ GeometryConfiguration Frame - {{0, 0}, {203, 628}} + {{0, 0}, {203, 676}} GroupTreeTableConfiguration MainColumn 186 RubberWindowFrame - 89 109 972 669 0 0 1280 778 + 89 61 1190 717 0 0 1280 778 Module PBXSmartGroupTreeModule @@ -350,6 +347,8 @@ Dock + BecomeActive + ContentConfiguration PBXProjectModuleGUID @@ -367,7 +366,7 @@ _historyCapacity 0 bookmark - D4C9D7E810A9B7A20005973D + D488BA8E10AF23CF00B3451C history D4A4963610541A1C00BE38AE @@ -377,7 +376,7 @@ D4A96E4D1054628D0091ECB4 D4A96E4E1054628D0091ECB4 D4A96E4F1054628D0091ECB4 - D40FFE1C105828A50070BCAF + D4C9D7E810A9B7A20005973D SplitCount @@ -389,14 +388,14 @@ GeometryConfiguration Frame - {{0, 0}, {764, 423}} + {{0, 0}, {982, 514}} RubberWindowFrame - 89 109 972 669 0 0 1280 778 + 89 61 1190 717 0 0 1280 778 Module PBXNavigatorGroup Proportion - 423pt + 514pt ContentConfiguration @@ -409,18 +408,18 @@ GeometryConfiguration Frame - {{0, 428}, {764, 200}} + {{0, 519}, {982, 157}} RubberWindowFrame - 89 109 972 669 0 0 1280 778 + 89 61 1190 717 0 0 1280 778 Module XCDetailModule Proportion - 200pt + 157pt Proportion - 764pt + 982pt Name @@ -435,9 +434,9 @@ TableOfContents - D4C9D7E910A9B7A20005973D + D488B02310AF188A00B3451C 1CE0B1FE06471DED0097A5F4 - D4C9D7EA10A9B7A20005973D + D488B02410AF188A00B3451C 1CE0B20306471E060097A5F4 1CE0B20506471E060097A5F4 @@ -575,17 +574,16 @@ 5 WindowOrderList - D4C9D7F410A9B7A20005973D - D4C9D7F510A9B7A20005973D - D4C9D7F610A9B7A20005973D + D488B03D10AF1C2900B3451C + D488B03E10AF1C2900B3451C + 1C78EAAD065D492600B07095 1CD10A99069EF8BA00B06720 D4A49630105419F700BE38AE D40FFE1D105828A50070BCAF - 1C78EAAD065D492600B07095 /Users/rob/Programming/Projects - Mine/QuietUnrar/QuietUnrar.xcodeproj WindowString - 89 109 972 669 0 0 1280 778 + 89 61 1190 717 0 0 1280 778 WindowToolsV3 @@ -662,7 +660,7 @@ TableOfContents D4A49630105419F700BE38AE - D4C9D7EC10A9B7A20005973D + D488B02610AF188A00B3451C 1CD0528F0623707200166675 XCMainBuildResultsModuleGUID @@ -706,8 +704,8 @@ yes sizes - {{0, 0}, {316, 201}} - {{316, 0}, {378, 201}} + {{0, 0}, {316, 202}} + {{316, 0}, {378, 202}} VerticalSplitView @@ -722,8 +720,8 @@ yes sizes - {{0, 0}, {694, 201}} - {{0, 201}, {694, 180}} + {{0, 0}, {694, 202}} + {{0, 202}, {694, 179}} @@ -756,7 +754,7 @@ 148 Frame - {{316, 0}, {378, 201}} + {{316, 0}, {378, 202}} RubberWindowFrame 68 278 694 422 0 0 1280 778 @@ -784,13 +782,13 @@ TableOfContents 1CD10A99069EF8BA00B06720 - D4C9D7ED10A9B7A20005973D + D488B03510AF1C2900B3451C 1C162984064C10D400B95A72 - D4C9D7EE10A9B7A20005973D - D4C9D7EF10A9B7A20005973D - D4C9D7F010A9B7A20005973D - D4C9D7F110A9B7A20005973D - D4C9D7F210A9B7A20005973D + D488B03610AF1C2900B3451C + D488B03710AF1C2900B3451C + D488B03810AF1C2900B3451C + D488B03910AF1C2900B3451C + D488B03A10AF1C2900B3451C ToolbarConfiguration xcode.toolbar.config.debugV3 @@ -954,7 +952,7 @@ TableOfContents 1C78EAAD065D492600B07095 - D4C9D7F310A9B7A20005973D + D488B03B10AF1C2900B3451C 1C78EAAC065D492600B07095 ToolbarConfiguration @@ -964,7 +962,7 @@ WindowToolGUID 1C78EAAD065D492600B07095 WindowToolIsVisible - + Identifier diff --git a/QuietUnrar.xcodeproj/rob.pbxuser b/QuietUnrar.xcodeproj/rob.pbxuser index bd8bee8..439e2bf 100644 --- a/QuietUnrar.xcodeproj/rob.pbxuser +++ b/QuietUnrar.xcodeproj/rob.pbxuser @@ -16,9 +16,9 @@ }; 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {740, 572}}"; - sepNavSelRange = "{720, 0}"; - sepNavVisRange = "{295, 827}"; + sepNavIntBoundsRect = "{{0, 0}, {921, 598}}"; + sepNavSelRange = "{274, 0}"; + sepNavVisRange = "{0, 1040}"; sepNavWindowFrame = "{{85, 21}, {877, 731}}"; }; }; @@ -40,7 +40,7 @@ PBXFileTableDataSourceColumnWidthsKey = ( 22, 300, - 413, + 631, ); PBXFileTableDataSourceColumnsKey = ( PBXExecutablesDataSource_ActiveFlagID, @@ -53,7 +53,7 @@ PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, - 525, + 743, 20, 48, 43, @@ -75,7 +75,7 @@ PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, - 485, + 703, 60, 20, 48, @@ -92,13 +92,33 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 279557910; - PBXWorkspaceStateSaveDate = 279557910; + PBXPerProjectTemplateStateSaveDate = 279910527; + PBXWorkspaceStateSaveDate = 279910527; }; perUserProjectItems = { D40FFE1C105828A50070BCAF = D40FFE1C105828A50070BCAF /* PBXTextBookmark */; D40FFE1F105828A50070BCAF = D40FFE1F105828A50070BCAF /* PBXTextBookmark */; D40FFE21105828A50070BCAF = D40FFE21105828A50070BCAF /* PBXTextBookmark */; + D488B02210AF188A00B3451C /* PBXTextBookmark */ = D488B02210AF188A00B3451C /* PBXTextBookmark */; + D488B02510AF188A00B3451C /* PBXTextBookmark */ = D488B02510AF188A00B3451C /* PBXTextBookmark */; + D488B03310AF1C2900B3451C /* PBXTextBookmark */ = D488B03310AF1C2900B3451C /* PBXTextBookmark */; + D488B03410AF1C2900B3451C /* PBXTextBookmark */ = D488B03410AF1C2900B3451C /* PBXTextBookmark */; + D488B04010AF1C7600B3451C /* PBXTextBookmark */ = D488B04010AF1C7600B3451C /* PBXTextBookmark */; + D488B04110AF1C7600B3451C /* PBXTextBookmark */ = D488B04110AF1C7600B3451C /* PBXTextBookmark */; + D488B04310AF1EEC00B3451C /* PBXTextBookmark */ = D488B04310AF1EEC00B3451C /* PBXTextBookmark */; + D488B04410AF1EEC00B3451C /* PBXTextBookmark */ = D488B04410AF1EEC00B3451C /* PBXTextBookmark */; + D488B04810AF1F7C00B3451C /* PBXTextBookmark */ = D488B04810AF1F7C00B3451C /* PBXTextBookmark */; + D488B04910AF1F7C00B3451C /* PBXTextBookmark */ = D488B04910AF1F7C00B3451C /* PBXTextBookmark */; + D488B9BE10AF209000B3451C /* PBXTextBookmark */ = D488B9BE10AF209000B3451C /* PBXTextBookmark */; + D488B9BF10AF209000B3451C /* PBXTextBookmark */ = D488B9BF10AF209000B3451C /* PBXTextBookmark */; + D488BA7F10AF20FE00B3451C /* PBXTextBookmark */ = D488BA7F10AF20FE00B3451C /* PBXTextBookmark */; + D488BA8010AF20FE00B3451C /* PBXTextBookmark */ = D488BA8010AF20FE00B3451C /* PBXTextBookmark */; + D488BA8210AF216A00B3451C /* PBXTextBookmark */ = D488BA8210AF216A00B3451C /* PBXTextBookmark */; + D488BA8310AF216A00B3451C /* PBXTextBookmark */ = D488BA8310AF216A00B3451C /* PBXTextBookmark */; + D488BA8610AF21CA00B3451C /* PBXTextBookmark */ = D488BA8610AF21CA00B3451C /* PBXTextBookmark */; + D488BA8710AF21CA00B3451C /* PBXTextBookmark */ = D488BA8710AF21CA00B3451C /* PBXTextBookmark */; + D488BA8E10AF23CF00B3451C /* PBXTextBookmark */ = D488BA8E10AF23CF00B3451C /* PBXTextBookmark */; + D488BA8F10AF23CF00B3451C /* PBXTextBookmark */ = D488BA8F10AF23CF00B3451C /* PBXTextBookmark */; D4A4963610541A1C00BE38AE = D4A4963610541A1C00BE38AE /* PBXTextBookmark */; D4A4965D105433E000BE38AE = D4A4965D105433E000BE38AE /* PBXTargetBookmark */; D4A496731054350F00BE38AE = D4A496731054350F00BE38AE /* PBXTextBookmark */; @@ -107,8 +127,8 @@ D4A96E4E1054628D0091ECB4 = D4A96E4E1054628D0091ECB4 /* PBXTextBookmark */; D4A96E4F1054628D0091ECB4 = D4A96E4F1054628D0091ECB4 /* PBXTextBookmark */; D4A96E511054628D0091ECB4 = D4A96E511054628D0091ECB4 /* PBXTextBookmark */; - D4C9D7E810A9B7A20005973D /* PBXTextBookmark */ = D4C9D7E810A9B7A20005973D /* PBXTextBookmark */; - D4C9D7EB10A9B7A20005973D /* PBXTextBookmark */ = D4C9D7EB10A9B7A20005973D /* PBXTextBookmark */; + D4C9D7E810A9B7A20005973D = D4C9D7E810A9B7A20005973D /* PBXTextBookmark */; + D4C9D7EB10A9B7A20005973D = D4C9D7EB10A9B7A20005973D /* PBXTextBookmark */; }; sourceControlManager = D4A4941A1054167B00BE38AE /* Source Control */; userBuildSettings = { @@ -137,7 +157,7 @@ fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; name = "QuietUnrarAppDelegate.m: 29"; rLen = 0; - rLoc = 720; + rLoc = 770; rType = 0; vrLen = 882; vrLoc = 235; @@ -155,11 +175,6 @@ name = NSApplication.h; path = /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSApplication.h; sourceTree = ""; - uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {3652, 5811}}"; - sepNavSelRange = "{3400, 68}"; - sepNavVisRange = "{13091, 2293}"; - }; }; D40FFE21105828A50070BCAF /* PBXTextBookmark */ = { isa = PBXTextBookmark; @@ -177,6 +192,211 @@ name = NSApplication.h; path = /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSApplication.h; sourceTree = ""; + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {3652, 5811}}"; + sepNavSelRange = "{3400, 68}"; + sepNavVisRange = "{13084, 2371}"; + }; + }; + D488B02210AF188A00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 29"; + rLen = 0; + rLoc = 770; + rType = 0; + vrLen = 847; + vrLoc = 275; + }; + D488B02510AF188A00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488B03310AF1C2900B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 29"; + rLen = 0; + rLoc = 770; + rType = 0; + vrLen = 1122; + vrLoc = 0; + }; + D488B03410AF1C2900B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2296; + vrLoc = 13084; + }; + D488B04010AF1C7600B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 29"; + rLen = 0; + rLoc = 770; + rType = 0; + vrLen = 1122; + vrLoc = 0; + }; + D488B04110AF1C7600B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488B04310AF1EEC00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 29"; + rLen = 0; + rLoc = 770; + rType = 0; + vrLen = 1122; + vrLoc = 0; + }; + D488B04410AF1EEC00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488B04810AF1F7C00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 29"; + rLen = 0; + rLoc = 770; + rType = 0; + vrLen = 1122; + vrLoc = 0; + }; + D488B04910AF1F7C00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488B9BE10AF209000B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 14"; + rLen = 0; + rLoc = 274; + rType = 0; + vrLen = 999; + vrLoc = 0; + }; + D488B9BF10AF209000B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488BA7F10AF20FE00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 14"; + rLen = 0; + rLoc = 274; + rType = 0; + vrLen = 999; + vrLoc = 0; + }; + D488BA8010AF20FE00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488BA8210AF216A00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 14"; + rLen = 0; + rLoc = 274; + rType = 0; + vrLen = 999; + vrLoc = 0; + }; + D488BA8310AF216A00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; + }; + D488BA8610AF21CA00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 23"; + rLen = 0; + rLoc = 557; + rType = 0; + vrLen = 957; + vrLoc = 0; + }; + D488BA8710AF21CA00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2296; + vrLoc = 13084; + }; + D488BA8E10AF23CF00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; + name = "QuietUnrarAppDelegate.m: 14"; + rLen = 0; + rLoc = 274; + rType = 0; + vrLen = 1040; + vrLoc = 0; + }; + D488BA8F10AF23CF00B3451C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = D40FFE22105828A50070BCAF /* NSApplication.h */; + name = "NSApplication.h: 86"; + rLen = 68; + rLoc = 3400; + rType = 0; + vrLen = 2371; + vrLoc = 13084; }; D4A4940C1054167200BE38AE /* QuietUnrar */ = { isa = PBXExecutable; @@ -328,7 +548,7 @@ fRef = 256AC3D90F4B6AC300CF3369 /* QuietUnrarAppDelegate.m */; name = "QuietUnrarAppDelegate.m: 29"; rLen = 0; - rLoc = 720; + rLoc = 770; rType = 0; vrLen = 827; vrLoc = 295; diff --git a/QuietUnrarAppDelegate.m b/QuietUnrarAppDelegate.m index a9a89c0..6d56693 100644 --- a/QuietUnrarAppDelegate.m +++ b/QuietUnrarAppDelegate.m @@ -18,7 +18,9 @@ // Insert code here to initialize your application KeyMap map; GetKeys(map); - NSLog(@"Shift or Right Shift: %d", KEYMAP_GET(map, kVKC_Shift) || KEYMAP_GET(map, kVKC_rShift)); + NSLog(@"Shift or Right Shift: %d", KEYMAP_GET(map, kVKC_Shift) || KEYMAP_GET(map, kVKC_rShift)); + + NSLog(@"Dll Version %d\n", RARGetDllVersion()); } - (BOOL)application:(id)sender openFileWithoutUI:(NSString *)filename {