-
Notifications
You must be signed in to change notification settings - Fork 6
/
Configuration.h
94 lines (69 loc) · 2.75 KB
/
Configuration.h
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
////////////////////////////////////////////////////////////////////////////////////
// //
// OCSINVENTORY-NG //
// //
// Copyleft Guillaume PROTET 2012 //
// Web : http://www.ocsinventory-ng.org //
// //
// //
// This code is open source and may be copied and modified as long as the source //
// code is always made freely available. //
// Please refer to the General Public Licence http://www.gnu.org/ //
// //
////////////////////////////////////////////////////////////////////////////////////
#import <Cocoa/Cocoa.h>
@interface Configuration : NSObject {
NSString *server;
NSString *tag;
NSString *logfile;
NSString *protocol;
NSString *periodicity;
NSString *ocsPkgFilePath;
NSString *modulesFilePath;
NSString *serverdirFilePath;
NSString *cacertFilePath;
NSString *authUser;
NSString *authPwd;
NSString *authRealm;
NSString *launchdFilePath;
NSString *nowFilePath;
NSString *cfgFilePath;
NSInteger debugmode;
NSInteger download;
NSInteger lazy;
NSInteger startup;
NSInteger now;
NSFileManager *filemgr;
}
//Accessors for variables
- (NSString *) server;
- (void) setServer:(NSString *)newServer;
- (NSString *) tag;
- (void) setTag:(NSString *)newTag;
- (NSString *) logfile;
- (void) setLogfile:(NSString *)newLogFile;
- (NSString *) protocol;
- (void) setProtocol:(NSString *)newProtocol;
- (NSString *) periodicity;
- (void) setPeriodicity:(NSString *)newPeriodicity;
- (NSString *) ocsPkgFilePath;
- (void) setOcsPkgFilePath:(NSString *)newPkgFilePath;;
- (NSString *) cacertFilePath;
- (void) setCacertFilePath:(NSString *)newCacertFilePath;
- (NSString *) authUser;
- (void) setUser:(NSString *)newAuthUser;
- (NSString *) authPwd;
- (void) setPwd:(NSString *)newAuthPwd;
- (NSString *) authRealm;
- (void) setRealm:(NSString *)newAuthRealm;
- (NSInteger) debugmode;
- (void) setDebugmode:(NSInteger)newDebugmode;
- (NSInteger) download;
- (void) setDownload:(NSInteger)newDownload;
- (NSInteger) lazy;
- (void) setLazy:(NSInteger)newLazy;
- (NSInteger) startup;
- (void) setStartup:(NSInteger)newStartup;
- (NSInteger) now;
- (void) setNow:(NSInteger)newNow;
@end