| Line 43... |
Line 43... |
| 43 |
@interface Preferences : NSObject
|
43 |
@interface Preferences : NSObject
|
| 44 |
{
|
44 |
{
|
| 45 |
NSMutableArray *dependents;
|
45 |
NSMutableArray *dependents;
|
| 46 |
BOOL batch, changed; // batch-operation related flags
|
46 |
BOOL batch, changed; // batch-operation related flags
|
| 47 |
BOOL writeDefaults; // if YES then any pref retrival fn with non-nil default will write the default if the key is empty. this means that the apps should be aware that fetching a key may result in an update due to an implicit write
|
47 |
BOOL writeDefaults; // if YES then any pref retrival fn with non-nil default will write the default if the key is empty. this means that the apps should be aware that fetching a key may result in an update due to an implicit write
|
| - |
|
48 |
id<PreferencesDependent> insideNotify; // contains the reference to the currently updated dependent or nil if no update is running atm
|
| 48 |
}
|
49 |
}
|
| 49 |
|
50 |
|
| 50 |
- (void) beginBatch;
|
51 |
- (void) beginBatch;
|
| 51 |
- (void) endBatch;
|
52 |
- (void) endBatch;
|
| 52 |
|
53 |
|