1 module org.eclipse.swt.internal.mozilla.nsIDocumentCharsetInfo; 2 3 import java.lang.all; 4 5 import org.eclipse.swt.internal.mozilla.Common; 6 import org.eclipse.swt.internal.mozilla.nsID; 7 import org.eclipse.swt.internal.mozilla.nsISupports; 8 9 import org.eclipse.swt.internal.mozilla.nsIAtom; 10 11 const char[] NS_IDOCUMENTCHARSETINFO_IID_STR = "2d40b291-01e1-11d4-9d0e-0050040007b2"; 12 13 const nsIID NS_IDOCUMENTCHARSETINFO_IID= 14 {0x2d40b291, 0x01e1, 0x11d4, 15 [ 0x9d, 0x0e, 0x00, 0x50, 0x04, 0x00, 0x07, 0xb2 ]}; 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 extern(System): 23 nsresult GetForcedCharset(nsIAtom *aForcedCharset); 24 nsresult SetForcedCharset(nsIAtom aForcedCharset); 25 nsresult GetForcedDetector(PRBool *aForcedDetector); 26 nsresult SetForcedDetector(PRBool aForcedDetector); 27 nsresult GetParentCharset(nsIAtom *aParentCharset); 28 nsresult SetParentCharset(nsIAtom aParentCharset); 29 nsresult GetParentCharsetSource(PRInt32 *aParentCharsetSource); 30 nsresult SetParentCharsetSource(PRInt32 aParentCharsetSource); 31 32 } 33