diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-03 08:55:57 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-03 08:55:57 +0000 |
commit | 58547cd1044df7a4d28a6007d4ff85d7b09ca399 (patch) | |
tree | 968ea2ca18225f5059341dffb865464928b07737 /Source/SPQueryConsole.h | |
parent | 5a2bb9490deb817a3e5e2e1b838fccb55857bd3f (diff) | |
download | sequelpro-58547cd1044df7a4d28a6007d4ff85d7b09ca399.tar.gz sequelpro-58547cd1044df7a4d28a6007d4ff85d7b09ca399.tar.bz2 sequelpro-58547cd1044df7a4d28a6007d4ff85d7b09ca399.zip |
• fixed issue if a SPF file contains non-valid URL character like space, etc.
• each new connection which is non-SPF file-based gets the document name "Untitled x"
• prepared SPQueryConsole to manage all query favorite and history data application-wide
• minor code fixes and renaming issues
Diffstat (limited to 'Source/SPQueryConsole.h')
-rw-r--r-- | Source/SPQueryConsole.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/SPQueryConsole.h b/Source/SPQueryConsole.h index 85ea7cbe..e5cb1156 100644 --- a/Source/SPQueryConsole.h +++ b/Source/SPQueryConsole.h @@ -42,6 +42,11 @@ BOOL filterIsActive; NSMutableString *activeFilterString; + + NSUInteger untitledDocumentCounter; + NSMutableDictionary *favoritesContainer; + NSMutableDictionary *historyContainer; + } @property (readwrite, retain) NSFont *consoleFont; @@ -60,6 +65,13 @@ - (void)showMessageInConsole:(NSString *)message; - (void)showErrorInConsole:(NSString *)error; +- (NSURL *)registerDocumentWithFileURL:(NSURL *)fileURL andContextInfo:(NSDictionary *)contextInfo; +- (void)addFavorite:(NSString *)favorite forFileURL:(NSURL *)fileURL; +- (void)addHistory:(NSString *)history forFileURL:(NSURL *)fileURL; +- (void)favoritesForFileURL:(NSURL *)fileURL; +- (void)historyForFileURL:(NSURL *)fileURL; + + - (NSUInteger)consoleMessageCount; @end |