aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-04 13:44:32 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-04 13:44:32 +0000
commite00013ffbf5fb252a11fc6e2c68a1af0b9886317 (patch)
tree62888a4cb0a66b1c1e705d160f30588060d47804 /Source/SPQueryController.h
parent3352744652a821093ef1138187609cdca5c9fef7 (diff)
downloadsequelpro-e00013ffbf5fb252a11fc6e2c68a1af0b9886317.tar.gz
sequelpro-e00013ffbf5fb252a11fc6e2c68a1af0b9886317.tar.bz2
sequelpro-e00013ffbf5fb252a11fc6e2c68a1af0b9886317.zip
• first steps to support global/document-based query favorites
- not yet fully implemented but workable
Diffstat (limited to 'Source/SPQueryController.h')
-rw-r--r--Source/SPQueryController.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPQueryController.h b/Source/SPQueryController.h
index bce03109..df842745 100644
--- a/Source/SPQueryController.h
+++ b/Source/SPQueryController.h
@@ -81,10 +81,13 @@
// DocumentsController
- (NSURL *)registerDocumentWithFileURL:(NSURL *)fileURL andContextInfo:(NSMutableDictionary *)contextInfo;
- (void)removeRegisteredDocumentWithFileURL:(NSURL *)fileURL;
+
- (void)addFavorite:(NSDictionary *)favorite forFileURL:(NSURL *)fileURL;
- (void)replaceFavoritesByArray:(NSArray *)favoritesArray forFileURL:(NSURL *)fileURL;
+
- (void)addHistory:(NSString *)history forFileURL:(NSURL *)fileURL;
- (void)replaceHistoryByArray:(NSArray *)historyArray forFileURL:(NSURL *)fileURL;
+
- (NSMutableArray *)favoritesForFileURL:(NSURL *)fileURL;
- (NSMutableArray *)historyForFileURL:(NSURL *)fileURL;