diff options
author | Max <post@wickenrode.com> | 2015-04-02 23:33:38 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-04-02 23:33:38 +0200 |
commit | bdf196ac60472fa7eccbd094ee1b5a505f550f4d (patch) | |
tree | 8378046f5e8abe8393b4b32c14016e41752442b2 /Source/SPFieldEditorController.h | |
parent | 01dd6402ee530e5d9fff1916507ea287893f0960 (diff) | |
download | sequelpro-bdf196ac60472fa7eccbd094ee1b5a505f550f4d.tar.gz sequelpro-bdf196ac60472fa7eccbd094ee1b5a505f550f4d.tar.bz2 sequelpro-bdf196ac60472fa7eccbd094ee1b5a505f550f4d.zip |
Remove a hack to support QuickLook on 10.5
We don't need that anymore since 10.5 support is gone. Sequel Pro now explicitly links Quartz and doesn't try to guess QuickLook support at runtime.
Diffstat (limited to 'Source/SPFieldEditorController.h')
-rw-r--r-- | Source/SPFieldEditorController.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Source/SPFieldEditorController.h b/Source/SPFieldEditorController.h index b56c6d1c..fbf04c49 100644 --- a/Source/SPFieldEditorController.h +++ b/Source/SPFieldEditorController.h @@ -28,6 +28,21 @@ // // More info at <https://github.com/sequelpro/sequelpro> +#ifndef SP_CODA + +#import <Quartz/Quartz.h> // QuickLookUI + +//This is an informal protocol +@protocol _QLPreviewPanelController + +- (BOOL)acceptsPreviewPanelControl:(QLPreviewPanel *)panel; +- (void)beginPreviewPanelControl:(QLPreviewPanel *)panel; +- (void)endPreviewPanelControl:(QLPreviewPanel *)panel; + +@end + +#endif + @class SPWindow; /** @@ -38,7 +53,11 @@ * This class offers a sheet for editing different kind of data such as text, blobs (including images) as * editSheet and bit fields as bitSheet. */ -@interface SPFieldEditorController : NSWindowController <NSComboBoxDataSource> +@interface SPFieldEditorController : NSWindowController <NSComboBoxDataSource +#ifndef SP_CODA +, QLPreviewPanelDataSource, QLPreviewPanelDelegate, _QLPreviewPanelController +#endif +> { IBOutlet id editSheetProgressBar; IBOutlet id editSheetSegmentControl; |