1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
//
// MPreferences.h
// MySQLGUICommon
//
// Created by Alfredo Kojima on Fri Jul 09 2004.
// Copyright (c) 2004 MySQL AB. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "myx_public_interface.h"
@interface MPreferences : NSObject {
NSUserDefaults *_defaults;
@public
MYX_PASSWORD_STORAGE_TYPE passwordStorageType;
}
+ (MPreferences*)preferences;
+ (void)setInstance:(MPreferences*)pref;
+ (NSString*)checkDirectory:(NSString*)path;
- (NSString*)pathForPreferences;
- (NSString*)pathForFile:(NSString*)file;
@end
|