aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index 57b8ee85..fe2865ab 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -24,18 +24,17 @@
// More info at <http://code.google.com/p/sequel-pro/>
#import <Cocoa/Cocoa.h>
+#import <MCPKit/MCPKit.h>
#import <WebKit/WebKit.h>
-#import <MCPKit_bundled/MCPKit_bundled.h>
+
#import "CMCopyTable.h"
#import "CMTextView.h"
-#import "CMMCPConnection.h"
-#import "CMMCPResult.h"
#import "RegexKitLite.h"
#define SP_HELP_TOC_SEARCH_STRING @"contents"
-@interface CustomQuery : NSObject {
-
+@interface CustomQuery : NSObject
+{
IBOutlet id tableWindow;
IBOutlet id queryFavoritesButton;
IBOutlet id queryHistoryButton;
@@ -77,7 +76,7 @@
NSUserDefaults *prefs;
NSMutableArray *queryFavorites;
- CMMCPConnection *mySQLConnection;
+ MCPConnection *mySQLConnection;
NSString *usedQuery;
NSRange currentQueryRange;
@@ -135,7 +134,7 @@
// Accessors
- (NSArray *)currentResult;
-- (NSArray *)fetchResultAsArray:(CMMCPResult *)theResult;
+- (NSArray *)fetchResultAsArray:(MCPResult *)theResult;
// MySQL Help
- (NSString *)getHTMLformattedMySQLHelpFor:(NSString *)aString;
@@ -147,7 +146,7 @@
// Other
-- (void)setConnection:(CMMCPConnection *)theConnection;
+- (void)setConnection:(MCPConnection *)theConnection;
- (void)setFavorites;
- (void)doPerformQueryService:(NSString *)query;
- (void)selectCurrentQuery;