summaryrefslogtreecommitdiffstats
path: root/Frameworks/LiBackend/LiPreferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/LiBackend/LiPreferences.h')
-rw-r--r--Frameworks/LiBackend/LiPreferences.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Frameworks/LiBackend/LiPreferences.h b/Frameworks/LiBackend/LiPreferences.h
new file mode 100644
index 0000000..390b67f
--- /dev/null
+++ b/Frameworks/LiBackend/LiPreferences.h
@@ -0,0 +1,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