diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-03 15:18:37 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-03 15:18:37 +0000 |
commit | 623b55eeb355aaceb3ffe3e13197944bef6fb1d4 (patch) | |
tree | 11c8538c58a4fc37d7de7821162b5dcc983abe2d /Source/SPQueryConsole.h | |
parent | 8a8ba1fecaf8d51a964d09c04d6065b3769dea5f (diff) | |
download | sequelpro-623b55eeb355aaceb3ffe3e13197944bef6fb1d4.tar.gz sequelpro-623b55eeb355aaceb3ffe3e13197944bef6fb1d4.tar.bz2 sequelpro-623b55eeb355aaceb3ffe3e13197944bef6fb1d4.zip |
• fixed document registering with its query favorites and history
• added and applied removeRegisteredDocumentWithURL to remove a registered document from the app-wide query fav/history controller
• saveDocumentWithFilePath now returns the success status after saving
- if saving fails for some reasons SP suggests to save that doc under a new name
• fixed issues for "Save" an Untitled doc
• improved error handling
Diffstat (limited to 'Source/SPQueryConsole.h')
-rw-r--r-- | Source/SPQueryConsole.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPQueryConsole.h b/Source/SPQueryConsole.h index e5cb1156..81ac07bd 100644 --- a/Source/SPQueryConsole.h +++ b/Source/SPQueryConsole.h @@ -65,7 +65,8 @@ - (void)showMessageInConsole:(NSString *)message; - (void)showErrorInConsole:(NSString *)error; -- (NSURL *)registerDocumentWithFileURL:(NSURL *)fileURL andContextInfo:(NSDictionary *)contextInfo; +- (NSURL *)registerDocumentWithFileURL:(NSURL *)fileURL andContextInfo:(NSMutableDictionary *)contextInfo; +- (void)removeRegisteredDocumentWithFileURL:(NSURL *)fileURL; - (void)addFavorite:(NSString *)favorite forFileURL:(NSURL *)fileURL; - (void)addHistory:(NSString *)history forFileURL:(NSURL *)fileURL; - (void)favoritesForFileURL:(NSURL *)fileURL; |