aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r--Source/SPNarrowDownCompletion.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h
index 08393d4d..44118380 100644
--- a/Source/SPNarrowDownCompletion.h
+++ b/Source/SPNarrowDownCompletion.h
@@ -26,7 +26,11 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-@interface SPNarrowDownCompletion : NSWindow
+#ifndef SP_REFACTOR
+@interface SPNarrowDownCompletion : NSWindow
+#else
+@interface SPNarrowDownCompletion : NSWindow <NSTableViewDelegate, NSTableViewDataSource, NSTokenFieldCellDelegate>
+#endif
{
NSArray* suggestions;
NSMutableString* mutablePrefix;
@@ -70,7 +74,9 @@
NSMutableCharacterSet* textualInputCharacters;
+#ifndef SP_REFACTOR
NSUserDefaults *prefs;
+#endif
}
- (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix