comparison dwt/internal/mozilla/nsIPrefBranch2.d @ 272:dd63eb078d7a

xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author John Reimer<terminal.node@gmail.com>
date Fri, 18 Jul 2008 05:32:53 -0700
parents
children 942da4b6558a
comparison
equal deleted inserted replaced
271:d472fae79005 272:dd63eb078d7a
1 module dwt.internal.mozilla.nsIPrefBranch2;
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.nsIObserver;
8
9 const char[] NS_IPREFBRANCH2_IID_STR = "74567534-eb94-4b1c-8f45-389643bfc555";
10
11 const nsIID NS_IPREFBRANCH2_IID=
12 {0x74567534, 0xeb94, 0x4b1c,
13 [ 0x8f, 0x45, 0x38, 0x96, 0x43, 0xbf, 0xc5, 0x55 ]};
14
15 extern(System)
16
17 interface nsIPrefBranch2 : nsIPrefBranch {
18
19 static const char[] IID_STR = NS_IPREFBRANCH2_IID_STR;
20 static const nsIID IID = NS_IPREFBRANCH2_IID;
21
22 nsresult AddObserver(char *aDomain, nsIObserver aObserver, PRBool aHoldWeak);
23 nsresult RemoveObserver(char *aDomain, nsIObserver aObserver);
24
25 }
26