45
|
1 module dwt.internal.mozilla.nsIPrefService;
|
|
2
|
125
|
3 import dwt.internal.mozilla.Common;
|
|
4 import dwt.internal.mozilla.nsID;
|
|
5 import dwt.internal.mozilla.nsISupports;
|
|
6 import dwt.internal.mozilla.nsIPrefBranch;
|
|
7 import dwt.internal.mozilla.nsIFile;
|
45
|
8
|
125
|
9 const char[] NS_IPREFSERVICE_IID_STR = "decb9cc7-c08f-4ea5-be91-a8fc637ce2d2";
|
45
|
10
|
125
|
11 const nsIID NS_IPREFSERVICE_IID=
|
|
12 {0xdecb9cc7, 0xc08f, 0x4ea5,
|
|
13 [ 0xbe, 0x91, 0xa8, 0xfc, 0x63, 0x7c, 0xe2, 0xd2 ]};
|
45
|
14
|
125
|
15 interface nsIPrefService : nsISupports {
|
45
|
16
|
125
|
17 static const char[] IID_STR = NS_IPREFSERVICE_IID_STR;
|
|
18 static const nsIID IID = NS_IPREFSERVICE_IID;
|
45
|
19
|
125
|
20 extern(System):
|
|
21 nsresult ReadUserPrefs(nsIFile aFile);
|
|
22 nsresult ResetPrefs();
|
|
23 nsresult ResetUserPrefs();
|
|
24 nsresult SavePrefFile(nsIFile aFile);
|
|
25 nsresult GetBranch(char *aPrefRoot, nsIPrefBranch *_retval);
|
|
26 nsresult GetDefaultBranch(char *aPrefRoot, nsIPrefBranch *_retval);
|
45
|
27
|
125
|
28 }
|
45
|
29
|