Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
805 | - | 1 | // |
2 | // InAppSettingsReader.h |
||
3 | // InAppSettingsTestApp |
||
4 | // |
||
5 | // Created by David Keegan on 1/19/10. |
||
6 | // Copyright 2010 InScopeApps{+}. All rights reserved. |
||
7 | // |
||
8 | |||
9 | #import <Foundation/Foundation.h> |
||
10 | |||
11 | @protocol InAppSettingsDatasource; |
||
12 | |||
13 | @interface InAppSettingsReaderRegisterDefaults : NSObject { |
||
14 | // keep track of what files we've read to avoid circular references |
||
15 | NSMutableArray * files; |
||
16 | NSMutableDictionary * values; |
||
17 | } |
||
18 | |||
19 | @property (nonatomic, retain) NSMutableArray * files; |
||
20 | @property (nonatomic, retain) NSMutableDictionary * values; |
||
21 | |||
22 | @end |
||
23 | |||
24 | @interface InAppSettingsReader : NSObject { |
||
25 | NSString * file; |
||
26 | NSMutableArray * headers, * settings; |
||
27 | id<InAppSettingsDatasource> dataSource; |
||
28 | } |
||
29 | |||
30 | @property (nonatomic, copy) NSString * file; |
||
31 | @property (nonatomic, retain) NSMutableArray * headers, * settings; |
||
32 | |||
33 | - (id) initWithFile:(NSString *)inputFile; |
||
34 | - (id) initWithFile:(NSString *)inputFile dataSource:(id<InAppSettingsDatasource>)aDataSource; |
||
35 | |||
36 | @end |