Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIDocumentCharsetInfo.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIDocumentCharsetInfo; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 | |
7 import org.eclipse.swt.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 |