From ae21ff988a6990eb294d01d55e19fb13173ba678 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 22 Sep 2011 15:59:11 -0400 Subject: [PATCH] [#21 state:fixed] Added quicklook support (Cocoa). --- cocoa/base/PyResultTable.h | 1 + cocoa/base/ResultTable.h | 3 +- cocoa/base/ResultTable.m | 50 +++++++++ cocoa/base/ResultWindow.h | 3 + cocoa/base/ResultWindow.m | 34 ++++++ cocoa/base/en.lproj/MainMenu.xib | 82 ++++++++++++++- cocoa/base/en.lproj/ResultWindow.xib | 111 ++++++++++++++++++-- cocoa/inter/result_table.py | 5 + cocoa/me/dupeguru.xcodeproj/project.pbxproj | 10 ++ cocoa/pe/dupeguru.xcodeproj/project.pbxproj | 10 ++ cocoa/se/dupeguru.xcodeproj/project.pbxproj | 10 ++ 11 files changed, 311 insertions(+), 8 deletions(-) diff --git a/cocoa/base/PyResultTable.h b/cocoa/base/PyResultTable.h index ef3c0db0..b7ea6c31 100644 --- a/cocoa/base/PyResultTable.h +++ b/cocoa/base/PyResultTable.h @@ -21,4 +21,5 @@ http://www.hardcoded.net/licenses/bsd_license - (void)markSelected; - (void)removeSelected; - (NSInteger)selectedDupeCount; +- (NSString *)pathAtIndex:(NSInteger)index; @end \ No newline at end of file diff --git a/cocoa/base/ResultTable.h b/cocoa/base/ResultTable.h index 6dbc2cfe..e2f68256 100644 --- a/cocoa/base/ResultTable.h +++ b/cocoa/base/ResultTable.h @@ -7,10 +7,11 @@ http://www.hardcoded.net/licenses/bsd_license */ #import +#import #import "HSTable.h" #import "PyResultTable.h" -@interface ResultTable : HSTable +@interface ResultTable : HSTable { NSIndexSet *_deltaColumns; } diff --git a/cocoa/base/ResultTable.m b/cocoa/base/ResultTable.m index bbc48ee9..4f1dc102 100644 --- a/cocoa/base/ResultTable.m +++ b/cocoa/base/ResultTable.m @@ -10,6 +10,12 @@ http://www.hardcoded.net/licenses/bsd_license #import "Dialogs.h" #import "Utils.h" #import "Consts.h" +#import "HSQuicklook.h" + +@interface HSTable (private) +- (void)setPySelection; +- (void)setViewSelection; +@end @implementation ResultTable - (id)initWithPyParent:(id)aPyParent view:(NSTableView *)aTableView @@ -31,6 +37,26 @@ http://www.hardcoded.net/licenses/bsd_license return (PyResultTable *)py; } +/* Private */ +- (void)updateQuicklookIfNeeded +{ + if ([[QLPreviewPanel sharedPreviewPanel] dataSource] == self) { + [[QLPreviewPanel sharedPreviewPanel] reloadData]; + } +} + +- (void)setPySelection +{ + [super setPySelection]; + [self updateQuicklookIfNeeded]; +} + +- (void)setViewSelection +{ + [super setViewSelection]; + [self updateQuicklookIfNeeded]; +} + /* Public */ - (BOOL)powerMarkerMode { @@ -158,6 +184,30 @@ http://www.hardcoded.net/licenses/bsd_license return YES; } +/* Quicklook */ +- (NSInteger)numberOfPreviewItemsInPreviewPanel:(QLPreviewPanel *)panel +{ + return [[[self py] selectedRows] count]; +} + +- (id )previewPanel:(QLPreviewPanel *)panel previewItemAtIndex:(NSInteger)index +{ + NSArray *selectedRows = [[self py] selectedRows]; + NSInteger absIndex = n2i([selectedRows objectAtIndex:index]); + NSString *path = [[self py] pathAtIndex:absIndex]; + return [[HSQLPreviewItem alloc] initWithUrl:[NSURL fileURLWithPath:path] title:path]; +} + +- (BOOL)previewPanel:(QLPreviewPanel *)panel handleEvent:(NSEvent *)event +{ + // redirect all key down events to the table view + if ([event type] == NSKeyDown) { + [[self view] keyDown:event]; + return YES; + } + return NO; +} + /* Python --> Cocoa */ - (void)invalidateMarkings { diff --git a/cocoa/base/ResultWindow.h b/cocoa/base/ResultWindow.h index c7f0fd4d..0eded9ec 100644 --- a/cocoa/base/ResultWindow.h +++ b/cocoa/base/ResultWindow.h @@ -7,6 +7,7 @@ http://www.hardcoded.net/licenses/bsd_license */ #import +#import #import "StatsLabel.h" #import "ResultTable.h" #import "ProblemDialog.h" @@ -30,6 +31,7 @@ http://www.hardcoded.net/licenses/bsd_license ResultTable *table; StatsLabel *statsLabel; ProblemDialog *problemDialog; + QLPreviewPanel* previewPanel; } - (id)initWithParentApp:(AppDelegateBase *)app; @@ -76,6 +78,7 @@ http://www.hardcoded.net/licenses/bsd_license - (IBAction)toggleDelta:(id)sender; - (IBAction)toggleDetailsPanel:(id)sender; - (IBAction)togglePowerMarker:(id)sender; +- (IBAction)toggleQuicklookPanel:(id)sender; /* Notifications */ - (void)jobCompleted:(NSNotification *)aNotification; diff --git a/cocoa/base/ResultWindow.m b/cocoa/base/ResultWindow.m index 5f07d5de..86ab0079 100644 --- a/cocoa/base/ResultWindow.m +++ b/cocoa/base/ResultWindow.m @@ -412,6 +412,40 @@ http://www.hardcoded.net/licenses/bsd_license [self updateOptionSegments]; } +- (IBAction)toggleQuicklookPanel:(id)sender +{ + if ([QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible]) { + [[QLPreviewPanel sharedPreviewPanel] orderOut:nil]; + } + else { + [[QLPreviewPanel sharedPreviewPanel] makeKeyAndOrderFront:nil]; + } +} + +/* Quicklook */ +- (BOOL)acceptsPreviewPanelControl:(QLPreviewPanel *)panel; +{ + return YES; +} + +- (void)beginPreviewPanelControl:(QLPreviewPanel *)panel +{ + // This document is now responsible of the preview panel + // It is allowed to set the delegate, data source and refresh panel. + previewPanel = [panel retain]; + panel.delegate = table; + panel.dataSource = table; +} + +- (void)endPreviewPanelControl:(QLPreviewPanel *)panel +{ + // This document loses its responsisibility on the preview panel + // Until the next call to -beginPreviewPanelControl: it must not + // change the panel's delegate, data source or refresh it. + [previewPanel release]; + previewPanel = nil; +} + /* Notifications */ - (void)jobCompleted:(NSNotification *)aNotification { diff --git a/cocoa/base/en.lproj/MainMenu.xib b/cocoa/base/en.lproj/MainMenu.xib index a504582e..bcea99c8 100644 --- a/cocoa/base/en.lproj/MainMenu.xib +++ b/cocoa/base/en.lproj/MainMenu.xib @@ -559,6 +559,15 @@ + + + Quicklook + l + 1048576 + 2147483647 + + + YES @@ -1068,6 +1077,14 @@ 1279 + + + toggleQuicklookPanel: + + + + 1282 + @@ -1132,6 +1149,7 @@ + @@ -1575,6 +1593,11 @@ + + 1280 + + + @@ -1600,6 +1623,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1660,7 +1684,7 @@ - 1279 + 1282 @@ -1764,6 +1788,57 @@ ./Classes/HSWindowController.h + + PrioritizeDialog + HSWindowController + + id + id + id + id + + + + addSelected: + id + + + cancel: + id + + + ok: + id + + + removeSelected: + id + + + + NSPopUpButton + NSTableView + NSTableView + + + + categoryPopUpView + NSPopUpButton + + + criteriaTableView + NSTableView + + + prioritizationTableView + NSTableView + + + + IBProjectSource + ./Classes/PrioritizeDialog.h + + ProblemDialog HSWindowController @@ -1859,6 +1934,7 @@ id id id + id @@ -1977,6 +2053,10 @@ togglePowerMarker: id + + toggleQuicklookPanel: + id + NSSearchField diff --git a/cocoa/base/en.lproj/ResultWindow.xib b/cocoa/base/en.lproj/ResultWindow.xib index 44b413a7..85ebfc34 100644 --- a/cocoa/base/en.lproj/ResultWindow.xib +++ b/cocoa/base/en.lproj/ResultWindow.xib @@ -14,6 +14,7 @@ NSPopUpButton NSMenu NSToolbarItem + NSButton NSToolbarFlexibleSpaceItem NSCustomObject NSTableView @@ -153,9 +154,11 @@ Options - + 268 - {{-11, 14}, {195, 23}} + {{0, 14}, {195, 23}} + + YES 67239424 @@ -208,9 +211,11 @@ Filter - + 258 {{0, 14}, {81, 22}} + + YES 343014976 @@ -290,6 +295,51 @@ YES 0 + + + A85CDEA8-333B-47CF-960E-DDC65B0C56BC + + Quick Look + Quick Look + + + + 268 + {{12, 14}, {44, 25}} + + + _NS:161 + YES + + 67239424 + 134217728 + + + _NS:161 + + -2033958657 + 163 + + NSImage + NSQuickLookTemplate + + + + 200 + 25 + + + + + + {30, 25} + {44, 32} + YES + YES + 0 + YES + 0 + BA65FFF2-9E56-4E88-AB2E-8FBE2B3D030F @@ -320,9 +370,11 @@ Action - + 256 {{1, 14}, {40, 25}} + + YES -2076049856 @@ -501,6 +553,7 @@ + -1 YES 3 YES @@ -574,17 +627,19 @@ - + + + @@ -1060,6 +1115,14 @@ 83 + + + toggleQuicklookPanel: + + + + 87 + @@ -1240,6 +1303,7 @@ + @@ -1415,6 +1479,27 @@ + + 86 + + + + + + + + 84 + + + + + + + + 85 + + + @@ -1474,13 +1559,16 @@ com.apple.InterfaceBuilder.CocoaPlugin HSTableView com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - 83 + 87 @@ -1623,6 +1711,7 @@ id id id + id id id id @@ -1632,6 +1721,7 @@ id id id + id @@ -1710,6 +1800,10 @@ renameSelected: id + + reprioritizeResults: + id + resetColumnsToDefault: id @@ -1746,6 +1840,10 @@ togglePowerMarker: id + + toggleQuicklookPanel: + id + NSSearchField @@ -1798,6 +1896,7 @@ {15, 15} {9, 8} {7, 2} + {21, 16} {15, 15} {32, 32} diff --git a/cocoa/inter/result_table.py b/cocoa/inter/result_table.py index 704a4d3a..b2a2a55f 100644 --- a/cocoa/inter/result_table.py +++ b/cocoa/inter/result_table.py @@ -43,6 +43,11 @@ class PyResultTable(PyTable): def selectedDupeCount(self): return self.py.selected_dupe_count + @signature('@@:i') + def pathAtIndex_(self, index): + row = self.py[index] + return str(row._dupe.path) + # python --> cocoa def invalidate_markings(self): self.cocoa.invalidateMarkings() diff --git a/cocoa/me/dupeguru.xcodeproj/project.pbxproj b/cocoa/me/dupeguru.xcodeproj/project.pbxproj index 46c83235..58958947 100644 --- a/cocoa/me/dupeguru.xcodeproj/project.pbxproj +++ b/cocoa/me/dupeguru.xcodeproj/project.pbxproj @@ -42,6 +42,8 @@ CE1425890AFB718500BD5167 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE1425880AFB718500BD5167 /* Sparkle.framework */; }; CE14259F0AFB719300BD5167 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = CE1425880AFB718500BD5167 /* Sparkle.framework */; }; CE1EAA0A12DF3E81009BA949 /* HSRecentFiles.m in Sources */ = {isa = PBXBuildFile; fileRef = CE1EAA0912DF3E81009BA949 /* HSRecentFiles.m */; }; + CE2E87F9142BC90A00519A68 /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE2E87F8142BC90A00519A68 /* Quartz.framework */; }; + CE2E87FD142BC92C00519A68 /* HSQuicklook.m in Sources */ = {isa = PBXBuildFile; fileRef = CE2E87FC142BC92C00519A68 /* HSQuicklook.m */; }; CE381C9609914ACE003581CE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CE381C9409914ACE003581CE /* AppDelegate.m */; }; CE381C9C09914ADF003581CE /* ResultWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = CE381C9A09914ADF003581CE /* ResultWindow.m */; }; CE381D0509915304003581CE /* dg_cocoa.plugin in Resources */ = {isa = PBXBuildFile; fileRef = CE381CF509915304003581CE /* dg_cocoa.plugin */; }; @@ -148,6 +150,9 @@ CE1EAA0912DF3E81009BA949 /* HSRecentFiles.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HSRecentFiles.m; path = ../../cocoalib/HSRecentFiles.m; sourceTree = SOURCE_ROOT; }; CE2B2B591406ABDA0038D15A /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = ../base/de.lproj/core.strings; sourceTree = ""; }; CE2B2B5A1406ABDA0038D15A /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = ../base/de.lproj/Localizable.strings; sourceTree = ""; }; + CE2E87F8142BC90A00519A68 /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; }; + CE2E87FB142BC92C00519A68 /* HSQuicklook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HSQuicklook.h; path = ../../cocoalib/HSQuicklook.h; sourceTree = ""; }; + CE2E87FC142BC92C00519A68 /* HSQuicklook.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HSQuicklook.m; path = ../../cocoalib/HSQuicklook.m; sourceTree = ""; }; CE381C9409914ACE003581CE /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; }; CE381C9509914ACE003581CE /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; }; CE381C9A09914ADF003581CE /* ResultWindow.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = ResultWindow.m; sourceTree = SOURCE_ROOT; }; @@ -260,6 +265,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + CE2E87F9142BC90A00519A68 /* Quartz.framework in Frameworks */, 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, CE1425890AFB718500BD5167 /* Sparkle.framework in Frameworks */, ); @@ -289,6 +295,7 @@ children = ( CE1425880AFB718500BD5167 /* Sparkle.framework */, 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + CE2E87F8142BC90A00519A68 /* Quartz.framework */, ); name = "Linked Frameworks"; sourceTree = ""; @@ -444,6 +451,8 @@ CE4F934812CCA96C0067A3AE /* HSAboutBox.m */, CE1EAA0812DF3E81009BA949 /* HSRecentFiles.h */, CE1EAA0912DF3E81009BA949 /* HSRecentFiles.m */, + CE2E87FB142BC92C00519A68 /* HSQuicklook.h */, + CE2E87FC142BC92C00519A68 /* HSQuicklook.m */, CE003CB911242D00004B0AA7 /* NSEventAdditions.h */, CE003CBA11242D00004B0AA7 /* NSEventAdditions.m */, CE515DE60FC6C12E00EC695D /* ProgressController.h */, @@ -628,6 +637,7 @@ CE84C9B31423ADFB0050A6AD /* PrioritizeList.m in Sources */, CE84C9B91423AE410050A6AD /* HSPopUpList.m in Sources */, CE84C9BA1423AE410050A6AD /* HSSelectableList.m in Sources */, + CE2E87FD142BC92C00519A68 /* HSQuicklook.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/cocoa/pe/dupeguru.xcodeproj/project.pbxproj b/cocoa/pe/dupeguru.xcodeproj/project.pbxproj index 0bfbb8ae..b061998e 100644 --- a/cocoa/pe/dupeguru.xcodeproj/project.pbxproj +++ b/cocoa/pe/dupeguru.xcodeproj/project.pbxproj @@ -61,6 +61,8 @@ CE9EA75B1122C96C008CD2BC /* NSIndexPathAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = CE9EA7531122C96C008CD2BC /* NSIndexPathAdditions.m */; }; CE9EA75C1122C96C008CD2BC /* NSTableViewAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = CE9EA7551122C96C008CD2BC /* NSTableViewAdditions.m */; }; CE9EA7721122CA0B008CD2BC /* DirectoryOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = CE9EA7701122CA0B008CD2BC /* DirectoryOutline.m */; }; + CEA8F336142BC9AB00A6DFAC /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEA8F335142BC9AB00A6DFAC /* Quartz.framework */; }; + CEA8F33A142BC9D400A6DFAC /* HSQuicklook.m in Sources */ = {isa = PBXBuildFile; fileRef = CEA8F339142BC9D400A6DFAC /* HSQuicklook.m */; }; CEC9DB4C12CCAA7D003102F0 /* HSAboutBox.m in Sources */ = {isa = PBXBuildFile; fileRef = CEC9DB4B12CCAA7D003102F0 /* HSAboutBox.m */; }; CECA899C09DB132E00A3D774 /* DetailsPanel.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = CECA899A09DB132E00A3D774 /* DetailsPanel.h */; }; CECA899D09DB132E00A3D774 /* DetailsPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = CECA899B09DB132E00A3D774 /* DetailsPanel.m */; }; @@ -232,6 +234,9 @@ CE9EA76F1122CA0B008CD2BC /* DirectoryOutline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DirectoryOutline.h; path = ../base/DirectoryOutline.h; sourceTree = SOURCE_ROOT; }; CE9EA7701122CA0B008CD2BC /* DirectoryOutline.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DirectoryOutline.m; path = ../base/DirectoryOutline.m; sourceTree = SOURCE_ROOT; }; CE9EA7711122CA0B008CD2BC /* PyDirectoryOutline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PyDirectoryOutline.h; path = ../base/PyDirectoryOutline.h; sourceTree = SOURCE_ROOT; }; + CEA8F335142BC9AB00A6DFAC /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; }; + CEA8F338142BC9D400A6DFAC /* HSQuicklook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HSQuicklook.h; path = ../../cocoalib/HSQuicklook.h; sourceTree = ""; }; + CEA8F339142BC9D400A6DFAC /* HSQuicklook.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HSQuicklook.m; path = ../../cocoalib/HSQuicklook.m; sourceTree = ""; }; CEC9DB4A12CCAA7D003102F0 /* HSAboutBox.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HSAboutBox.h; path = ../../cocoalib/HSAboutBox.h; sourceTree = SOURCE_ROOT; }; CEC9DB4B12CCAA7D003102F0 /* HSAboutBox.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HSAboutBox.m; path = ../../cocoalib/HSAboutBox.m; sourceTree = SOURCE_ROOT; }; CECA899A09DB132E00A3D774 /* DetailsPanel.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = DetailsPanel.h; sourceTree = ""; }; @@ -259,6 +264,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + CEA8F336142BC9AB00A6DFAC /* Quartz.framework in Frameworks */, 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, CE15C8A80ADEB8B50061D4A5 /* Sparkle.framework in Frameworks */, ); @@ -288,6 +294,7 @@ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { isa = PBXGroup; children = ( + CEA8F335142BC9AB00A6DFAC /* Quartz.framework */, CE15C8A70ADEB8B50061D4A5 /* Sparkle.framework */, 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, ); @@ -403,6 +410,8 @@ CEC9DB4B12CCAA7D003102F0 /* HSAboutBox.m */, CE60180612DF3EA900236FDC /* HSRecentFiles.h */, CE60180712DF3EA900236FDC /* HSRecentFiles.m */, + CEA8F338142BC9D400A6DFAC /* HSQuicklook.h */, + CEA8F339142BC9D400A6DFAC /* HSQuicklook.m */, CE80DB210FC192D60086DCA6 /* ProgressController.h */, CE80DB220FC192D60086DCA6 /* ProgressController.m */, CE80DB230FC192D60086DCA6 /* PyApp.h */, @@ -635,6 +644,7 @@ CE7D249E1423B0BD002E2297 /* HSSelectableList.m in Sources */, CE7D24A51423B106002E2297 /* PrioritizeDialog.m in Sources */, CE7D24A61423B106002E2297 /* PrioritizeList.m in Sources */, + CEA8F33A142BC9D400A6DFAC /* HSQuicklook.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/cocoa/se/dupeguru.xcodeproj/project.pbxproj b/cocoa/se/dupeguru.xcodeproj/project.pbxproj index e1561f43..46111e3a 100644 --- a/cocoa/se/dupeguru.xcodeproj/project.pbxproj +++ b/cocoa/se/dupeguru.xcodeproj/project.pbxproj @@ -21,6 +21,8 @@ CE4526F212E5F55F00005A15 /* core.strings in Resources */ = {isa = PBXBuildFile; fileRef = CE4526F012E5F55F00005A15 /* core.strings */; }; CE45579B0AE3BC2B005A9546 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE45579A0AE3BC2B005A9546 /* Sparkle.framework */; }; CE4557B40AE3BC50005A9546 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = CE45579A0AE3BC2B005A9546 /* Sparkle.framework */; }; + CE5335FC142BBFAF008E5374 /* HSQuicklook.m in Sources */ = {isa = PBXBuildFile; fileRef = CE5335FB142BBFAF008E5374 /* HSQuicklook.m */; }; + CE533603142BC034008E5374 /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE533602142BC034008E5374 /* Quartz.framework */; }; CE647E571173024A006D28BA /* ProblemDialog.m in Sources */ = {isa = PBXBuildFile; fileRef = CE647E551173024A006D28BA /* ProblemDialog.m */; }; CE665B3013225ADD003F5CFB /* ExtraFairwareReminder.m in Sources */ = {isa = PBXBuildFile; fileRef = CE665B2E13225ADD003F5CFB /* ExtraFairwareReminder.m */; }; CE665B3313225AF8003F5CFB /* ExtraFairwareReminder.xib in Resources */ = {isa = PBXBuildFile; fileRef = CE665B3113225AF8003F5CFB /* ExtraFairwareReminder.xib */; }; @@ -122,6 +124,9 @@ CE4526F112E5F55F00005A15 /* en */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = en; path = ../base/en.lproj/core.strings; sourceTree = SOURCE_ROOT; }; CE4526F312E5F57000005A15 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = ../base/fr.lproj/core.strings; sourceTree = SOURCE_ROOT; }; CE45579A0AE3BC2B005A9546 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sparkle.framework; path = /Library/Frameworks/Sparkle.framework; sourceTree = ""; }; + CE5335FA142BBFAF008E5374 /* HSQuicklook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HSQuicklook.h; path = ../../cocoalib/HSQuicklook.h; sourceTree = ""; }; + CE5335FB142BBFAF008E5374 /* HSQuicklook.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HSQuicklook.m; path = ../../cocoalib/HSQuicklook.m; sourceTree = ""; }; + CE533602142BC034008E5374 /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; }; CE647E541173024A006D28BA /* ProblemDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ProblemDialog.h; path = ../base/ProblemDialog.h; sourceTree = SOURCE_ROOT; }; CE647E551173024A006D28BA /* ProblemDialog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ProblemDialog.m; path = ../base/ProblemDialog.m; sourceTree = SOURCE_ROOT; }; CE647E561173024A006D28BA /* PyProblemDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PyProblemDialog.h; path = ../base/PyProblemDialog.h; sourceTree = SOURCE_ROOT; }; @@ -242,6 +247,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + CE533603142BC034008E5374 /* Quartz.framework in Frameworks */, 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, CE45579B0AE3BC2B005A9546 /* Sparkle.framework in Frameworks */, ); @@ -268,6 +274,7 @@ children = ( CE45579A0AE3BC2B005A9546 /* Sparkle.framework */, 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + CE533602142BC034008E5374 /* Quartz.framework */, ); name = "Linked Frameworks"; sourceTree = ""; @@ -433,6 +440,8 @@ CE27D3C312CCA43800859E67 /* HSAboutBox.m */, CEF0ACCC12DF3C2000B32F7E /* HSRecentFiles.h */, CEF0ACCD12DF3C2000B32F7E /* HSRecentFiles.m */, + CE5335FA142BBFAF008E5374 /* HSQuicklook.h */, + CE5335FB142BBFAF008E5374 /* HSQuicklook.m */, CEFC7F900FC9517500CD5728 /* ProgressController.h */, CEFC7F910FC9517500CD5728 /* ProgressController.m */, CEFC7F920FC9517500CD5728 /* PyApp.h */, @@ -606,6 +615,7 @@ CE9777D5141F9D7600C13FB5 /* HSPopUpList.m in Sources */, CE41672D141FE1E5004F3F0B /* HSSelectableList.m in Sources */, CE89240A14239CC30024CE4E /* PrioritizeList.m in Sources */, + CE5335FC142BBFAF008E5374 /* HSQuicklook.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };