diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-06-21 11:38:43 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-06-21 11:38:43 +0000 |
commit | e9f34249920eea69ca0dc116d21c1403c49ec0f4 (patch) | |
tree | 12e1198bd8f1f0fe65fc78a1d707f5f7385a9bef /Source/SPAppController.h | |
parent | 43410663ca0338c8203c30156bd5391bb1f8fb37 (diff) | |
download | sequelpro-e9f34249920eea69ca0dc116d21c1403c49ec0f4.tar.gz sequelpro-e9f34249920eea69ca0dc116d21c1403c49ec0f4.tar.bz2 sequelpro-e9f34249920eea69ca0dc116d21c1403c49ec0f4.zip |
• initial preparations to support the storage of the entire SP session (all windows including tabs)
• added file extension 'spfs' as SP bundle
Note: The idea is to save inside the given spfs bundle a file 'Info.list' which contains the entire structure (which window, which tabs, selected items, etc.; each single connection is saved as separate spf file - if untitled inside the bundle in the sub-folder 'Contents' or if not the absolute path to a already saved spf file). This should insure that the user can open a single spf file in SP or as part of a spfs bundle session without loosing having two different spf file for the same connection. - Comments are welcome
Diffstat (limited to 'Source/SPAppController.h')
-rw-r--r-- | Source/SPAppController.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h index 0ae75b90..9d9a5564 100644 --- a/Source/SPAppController.h +++ b/Source/SPAppController.h @@ -36,6 +36,8 @@ SPPreferenceController *prefsController; id encodingPopUp; + + NSURL *_sessionURL; } // Window management @@ -62,8 +64,11 @@ // Getters - (SPPreferenceController *)preferenceController; -- (NSArray *) orderedDatabaseConnectionWindows; -- (SPDatabaseDocument *) frontDocument; +- (NSArray *)orderedDatabaseConnectionWindows; +- (SPDatabaseDocument *)frontDocument; +- (NSURL *)sessionURL; + +- (void)setSessionURL:(NSString *)urlString; // Feedback controller delegate methods - (NSMutableDictionary*) anonymizePreferencesForFeedbackReport:(NSMutableDictionary *)preferences; |