diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-04 13:44:32 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-04 13:44:32 +0000 |
commit | e00013ffbf5fb252a11fc6e2c68a1af0b9886317 (patch) | |
tree | 62888a4cb0a66b1c1e705d160f30588060d47804 /Source/SPQueryController.h | |
parent | 3352744652a821093ef1138187609cdca5c9fef7 (diff) | |
download | sequelpro-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.h | 3 |
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; |