aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-12 01:24:05 +0000
committerrowanbeentje <rowan@beent.je>2010-03-12 01:24:05 +0000
commit1b11e4ece374dc4c1952d40db918b8951e79bcfd (patch)
treefef8e2b81ce999cdbb0abd7dd766df1f72e22d76 /Source/CustomQuery.h
parent88f89987a4329b394ee30a2a77705d3afbb35195 (diff)
downloadsequelpro-1b11e4ece374dc4c1952d40db918b8951e79bcfd.tar.gz
sequelpro-1b11e4ece374dc4c1952d40db918b8951e79bcfd.tar.bz2
sequelpro-1b11e4ece374dc4c1952d40db918b8951e79bcfd.zip
Rework the running of custom queries, improving thread safety by splitting out table drawing and status/error drawing onto their own methods. This should address http://log.sequelpro.com/view/28 , http://log.sequelpro.com/view/45 and http://log.sequelpro.com/view/48
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index ed4a1166..a59fb828 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -188,12 +188,14 @@
- (NSString *)queryAtPosition:(NSUInteger)position lookBehind:(BOOL *)doLookBehind;
- (NSRange)queryRangeAtPosition:(NSUInteger)position lookBehind:(BOOL *)doLookBehind;
- (NSRange)queryTextRangeForQuery:(NSInteger)anIndex startPosition:(NSUInteger)position;
+- (void) updateStatusInterfaceWithDetails:(NSDictionary *)errorDetails;
// Accessors
- (NSArray *)currentResult;
- (void)processResultIntoDataStorage:(MCPStreamingResult *)theResult;
// Retrieving and setting table state
+- (void) updateTableView;
- (NSIndexSet *) resultSelectedRowIndexes;
- (NSRect) resultViewport;
- (void) setResultSelectedRowIndexesToRestore:(NSIndexSet *)theIndexSet;