Statistics
| Branch: | Tag: | Revision:

root / Classes / OpenStackAppDelegate.h @ 64929bae

History | View | Annotate | Download (1.5 kB)

1
//
2
//  OpenStackAppDelegate.h
3
//  OpenStack
4
//
5
//  Created by Mike Mayo on 9/30/10.
6
//  The OpenStack project is provided under the Apache 2.0 license.
7
//
8

    
9
#import <UIKit/UIKit.h>
10

    
11
@class RootViewController;
12

    
13
#define CACHED_OBJECTS_ARCHIVE_KEY @"cachedObjectsDictionary"
14
#define CACHE_DICT_ARCHIVE_NAME @"cache.dict"
15

    
16
@interface OpenStackAppDelegate : NSObject <UIApplicationDelegate> {
17
    UIWindow *window;
18
    UINavigationController *navigationController;
19
    UISplitViewController *splitViewController;
20
    UINavigationController *masterNavigationController;
21
    UIBarButtonItem *barButtonItem;
22
    RootViewController *rootViewController;
23
    id serviceUnavailableObserver;
24
    NSMutableDictionary *cachedObjectsDictionary;
25
    NSString *cacheDictionaryFilePath;
26
    NSString *cacheDirectoryPath;
27
    
28
    NSUserDefaults *userDefaults;
29
}
30

    
31
@property (nonatomic, retain) IBOutlet UIWindow *window;
32
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
33
@property (nonatomic, retain) IBOutlet UISplitViewController *splitViewController;
34
@property (nonatomic, retain) UINavigationController *masterNavigationController;
35
@property (nonatomic, retain) UIBarButtonItem *barButtonItem;
36
@property (nonatomic, retain) RootViewController *rootViewController;
37
@property (nonatomic, retain) NSMutableDictionary *cachedObjectsDictionary;
38
@property (nonatomic, copy) NSString *cacheDictionaryFilePath;
39
@property (nonatomic, copy) NSString *cacheDirectoryPath;
40

    
41
//- (void) setupDependencies;
42
- (void)saveCacheDictionary;
43

    
44
@end
45