aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-15 21:25:26 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-15 21:25:26 +0000
commitcd4ae516d0db053c1bb818e617cf5b5bbebdaafc (patch)
tree98a6fbddc09798a67d7d207e5417c41af940745d /Source/SPAppController.h
parent1fddbf3316c6d9b61952426f285d8ed4765cee45 (diff)
downloadsequelpro-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.h9
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