Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIPrefService.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
290:4c1340edee0d | 291:b0bd1789106b |
---|---|
1 module dwt.internal.mozilla.nsIPrefService; | |
2 | |
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; | |
8 | |
9 const char[] NS_IPREFSERVICE_IID_STR = "decb9cc7-c08f-4ea5-be91-a8fc637ce2d2"; | |
10 | |
11 const nsIID NS_IPREFSERVICE_IID= | |
12 {0xdecb9cc7, 0xc08f, 0x4ea5, | |
13 [ 0xbe, 0x91, 0xa8, 0xfc, 0x63, 0x7c, 0xe2, 0xd2 ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsIPrefService : nsISupports { | |
18 | |
19 static const char[] IID_STR = NS_IPREFSERVICE_IID_STR; | |
20 static const nsIID IID = NS_IPREFSERVICE_IID; | |
21 | |
22 nsresult ReadUserPrefs(nsIFile aFile); | |
23 nsresult ResetPrefs(); | |
24 nsresult ResetUserPrefs(); | |
25 nsresult SavePrefFile(nsIFile aFile); | |
26 nsresult GetBranch(char *aPrefRoot, nsIPrefBranch *_retval); | |
27 nsresult GetDefaultBranch(char *aPrefRoot, nsIPrefBranch *_retval); | |
28 | |
29 } | |
30 |