aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPCustomQuery.h')
-rw-r--r--Source/SPCustomQuery.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.h b/Source/SPCustomQuery.h
index ffbe4549..85c52e91 100644
--- a/Source/SPCustomQuery.h
+++ b/Source/SPCustomQuery.h
@@ -58,11 +58,18 @@
@class SPMySQLFastStreamingResult;
@class SPTextView;
+#ifdef SP_REFACTOR
+@class SPDatabaseDocument;
+@class SPTablesList;
+#endif
+
+
@interface SPCustomQuery : NSObject <NSTableViewDataSource, NSWindowDelegate, NSTableViewDelegate>
{
IBOutlet id tableDocumentInstance;
IBOutlet id tablesListInstance;
+#ifndef SP_REFACTOR
IBOutlet id queryFavoritesButton;
IBOutlet NSMenuItem *queryFavoritesSearchMenuItem;
IBOutlet NSMenuItem *queryFavoritesSaveAsMenuItem;
@@ -83,6 +90,7 @@
IBOutlet NSMenuItem *saveHistoryMenuItem;
IBOutlet NSMenuItem *copyHistoryMenuItem;
IBOutlet NSPopUpButton *encodingPopUp;
+#endif
IBOutlet SPTextView *textView;
IBOutlet SPCopyTable *customQueryView;
@@ -107,8 +115,10 @@
IBOutlet NSMenuItem *autouppercaseKeywordsMenuItem;
IBOutlet NSMenuItem *commentCurrentQueryMenuItem;
IBOutlet NSMenuItem *commentLineOrSelectionMenuItem;
+#ifndef SP_REFACTOR
IBOutlet NSMenuItem *previousHistoryMenuItem;
IBOutlet NSMenuItem *nextHistoryMenuItem;
+#endif
#ifndef SP_REFACTOR
IBOutlet NSWindow *helpWebViewWindow;