blob: 390b67f7151ec2f8898a3071c8cec6eb66000a25 (
plain)
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
28
29
30
31
|
//
// Preferences.h
// Liaison
//
// Created by Brian Cully on Fri Feb 21 2003.
// Copyright (c) 2003 Brian Cully. All rights reserved.
//
@interface Preferences : NSObject
{
NSUserDefaults *theDefaults;
}
+ (Preferences *)sharedPreferences;
- (NSString *)downloadDirectory;
- (void)setDownloadDirectory: (NSString *)aPath;
- (NSString *)groupPath;
- (void)setGroupPath: (NSString *)aPath;
- (NSString *)libraryPath;
- (void)setLibraryPath: (NSString *)aPath;
- (NSString *)hostname;
- (void)setHostname: (NSString *)aHostname;
- (BOOL)networkEnabled;
- (void)setNetworkEnabled: (BOOL)isEnabled;
- (BOOL)useRendezvousGroup;
- (void)setUseRendezvousGroup: (BOOL)useGroup;
- (NSDictionary *)fileListPrefs;
- (void)setFileListPrefs: (NSDictionary *)listPrefs;
@property (retain) NSUserDefaults *theDefaults;
@end
|