|
Revision 327:b0d7eb5bd76c, 0.7 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 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 |
interface nsIPrefBranch2 : nsIPrefBranch { |
|---|
| 16 |
|
|---|
| 17 |
static const char[] IID_STR = NS_IPREFBRANCH2_IID_STR; |
|---|
| 18 |
static const nsIID IID = NS_IPREFBRANCH2_IID; |
|---|
| 19 |
|
|---|
| 20 |
extern(System): |
|---|
| 21 |
nsresult AddObserver(char *aDomain, nsIObserver aObserver, PRBool aHoldWeak); |
|---|
| 22 |
nsresult RemoveObserver(char *aDomain, nsIObserver aObserver); |
|---|
| 23 |
|
|---|
| 24 |
} |
|---|