aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-03 15:18:37 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-03 15:18:37 +0000
commit623b55eeb355aaceb3ffe3e13197944bef6fb1d4 (patch)
tree11c8538c58a4fc37d7de7821162b5dcc983abe2d /Source/TableDocument.h
parent8a8ba1fecaf8d51a964d09c04d6065b3769dea5f (diff)
downloadsequelpro-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/TableDocument.h')
-rw-r--r--Source/TableDocument.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h
index 09401cea..868b5dcd 100644
--- a/Source/TableDocument.h
+++ b/Source/TableDocument.h
@@ -143,7 +143,7 @@ enum sp_current_query_mode
NSString *queryEditorInitString;
NSDictionary *spfSession;
- NSDictionary *spfPreferences;
+ NSMutableDictionary *spfPreferences;
NSMutableDictionary *spfDocData;
}
@@ -204,7 +204,7 @@ enum sp_current_query_mode
- (void)refreshCurrentDatabase;
- (void)saveConnectionPanelDidEnd:(NSSavePanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo;
- (IBAction)validateSaveConnectionAccessory:(id)sender;
-- (void)saveDocumentWithFilePath:(NSString *)fileName inBackground:(BOOL)saveInBackground onlyPreferences:(BOOL)saveOnlyPreferences;
+- (BOOL)saveDocumentWithFilePath:(NSString *)fileName inBackground:(BOOL)saveInBackground onlyPreferences:(BOOL)saveOnlyPreferences;
- (IBAction)closePasswordSheet:(id)sender;
// Getter methods