diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-15 21:25:26 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-15 21:25:26 +0000 |
commit | cd4ae516d0db053c1bb818e617cf5b5bbebdaafc (patch) | |
tree | 98a6fbddc09798a67d7d207e5417c41af940745d /Source/SPAppController.h | |
parent | 1fddbf3316c6d9b61952426f285d8ed4765cee45 (diff) | |
download | sequelpro-cd4ae516d0db053c1bb818e617cf5b5bbebdaafc.tar.gz sequelpro-cd4ae516d0db053c1bb818e617cf5b5bbebdaafc.tar.bz2 sequelpro-cd4ae516d0db053c1bb818e617cf5b5bbebdaafc.zip |
• Bundle support
- outsourced code to SPAppController to centralise Bundle support and make it available for different scopes (query editor, input text fields, data tables etc.)
- store bundle info scope-based
- added input text field support
- made usage of constants
Diffstat (limited to 'Source/SPAppController.h')
-rw-r--r-- | Source/SPAppController.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h index 6aedd05e..e4508521 100644 --- a/Source/SPAppController.h +++ b/Source/SPAppController.h @@ -43,6 +43,12 @@ NSURL *_sessionURL; NSMutableDictionary *_spfSessionDocData; + + NSMutableDictionary *bundleItems; + NSMutableDictionary *bundleCategories; + NSMutableArray *bundleUsedScopes; + NSMutableDictionary *bundleKeyEquivalents; + } // Window management @@ -84,5 +90,8 @@ // Others - (NSString *)contentOfFile:(NSString *)aPath; +- (NSArray *)bundleCategoriesForScope:(NSString*)scope; +- (NSArray *)bundleItemsForScope:(NSString*)scope; +- (NSDictionary *)bundleKeyEquivalentsForScope:(NSString*)scope; @end |