Mercurial > projects > dwt-mac
comparison dwt/internal/mozilla/nsIDocumentCharsetInfo.d @ 125:5583f8eeee6c
Synced mozilla with dwt-linux
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 16 Jan 2009 12:49:08 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
124:540fa4e9974a | 125:5583f8eeee6c |
---|---|
1 module dwt.internal.mozilla.nsIDocumentCharsetInfo; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 | |
7 import dwt.internal.mozilla.nsIAtom; | |
8 | |
9 const char[] NS_IDOCUMENTCHARSETINFO_IID_STR = "2d40b291-01e1-11d4-9d0e-0050040007b2"; | |
10 | |
11 const nsIID NS_IDOCUMENTCHARSETINFO_IID= | |
12 {0x2d40b291, 0x01e1, 0x11d4, | |
13 [ 0x9d, 0x0e, 0x00, 0x50, 0x04, 0x00, 0x07, 0xb2 ]}; | |
14 | |
15 interface nsIDocumentCharsetInfo : nsISupports { | |
16 | |
17 static const char[] IID_STR = NS_IDOCUMENTCHARSETINFO_IID_STR; | |
18 static const nsIID IID = NS_IDOCUMENTCHARSETINFO_IID; | |
19 | |
20 extern(System): | |
21 nsresult GetForcedCharset(nsIAtom *aForcedCharset); | |
22 nsresult SetForcedCharset(nsIAtom aForcedCharset); | |
23 nsresult GetForcedDetector(PRBool *aForcedDetector); | |
24 nsresult SetForcedDetector(PRBool aForcedDetector); | |
25 nsresult GetParentCharset(nsIAtom *aParentCharset); | |
26 nsresult SetParentCharset(nsIAtom aParentCharset); | |
27 nsresult GetParentCharsetSource(PRInt32 *aParentCharsetSource); | |
28 nsresult SetParentCharsetSource(PRInt32 aParentCharsetSource); | |
29 | |
30 } | |
31 |