gecko-dev/chimera/CHPreferenceManager.h
pinkerton%netscape.com 72adb320ea make "home" button do the right thing. turn pref manager object into a
shared object owned by the main controller so other objects can easily
get to it to ask about prefs. reworked the code that gets the homepage
so that it conditionally checks if it should check the startup page
mode (obviously the home button doesn't want that). bug# 148936.
2002-06-04 18:36:29 +00:00

29 lines
663 B
Objective-C

//
// CHPreferenceManager.h
// Chimera
//
// Created by William Dell Wisner on Wed Apr 17 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Carbon/Carbon.h>
@interface CHPreferenceManager : NSObject {
NSUserDefaults *defaults;
ICInstance internetConfig;
}
+ (CHPreferenceManager *)sharedInstance;
- (id) init;
- (void) dealloc;
- (BOOL) initInternetConfig;
- (BOOL) initMozillaPrefs;
- (void) syncMozillaPrefs;
// - (BOOL) getICBoolPref:(ConstStr255Param) prefKey;
- (NSString *) getICStringPref:(ConstStr255Param) prefKey;
- (NSString *) homePage:(BOOL) checkStartupPagePref;
@end