Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIDocumentCharsetInfo.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.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 extern(System) | |
16 | |
17 interface nsIDocumentCharsetInfo : nsISupports { | |
18 | |
19 static const char[] IID_STR = NS_IDOCUMENTCHARSETINFO_IID_STR; | |
20 static const nsIID IID = NS_IDOCUMENTCHARSETINFO_IID; | |
21 | |
22 nsresult GetForcedCharset(nsIAtom *aForcedCharset); | |
23 nsresult SetForcedCharset(nsIAtom aForcedCharset); | |
24 nsresult GetForcedDetector(PRBool *aForcedDetector); | |
25 nsresult SetForcedDetector(PRBool aForcedDetector); | |
26 nsresult GetParentCharset(nsIAtom *aParentCharset); | |
27 nsresult SetParentCharset(nsIAtom aParentCharset); | |
28 nsresult GetParentCharsetSource(PRInt32 *aParentCharsetSource); | |
29 nsresult SetParentCharsetSource(PRInt32 aParentCharsetSource); | |
30 | |
31 } | |
32 |