view 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
line wrap: on
line source

module org.eclipse.swt.internal.mozilla.nsIDocumentCharsetInfo;

import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;

import org.eclipse.swt.internal.mozilla.nsIAtom;

const char[] NS_IDOCUMENTCHARSETINFO_IID_STR = "2d40b291-01e1-11d4-9d0e-0050040007b2";

const nsIID NS_IDOCUMENTCHARSETINFO_IID= 
  {0x2d40b291, 0x01e1, 0x11d4, 
    [ 0x9d, 0x0e, 0x00, 0x50, 0x04, 0x00, 0x07, 0xb2 ]};

interface nsIDocumentCharsetInfo : nsISupports {

  static const char[] IID_STR = NS_IDOCUMENTCHARSETINFO_IID_STR;
  static const nsIID IID = NS_IDOCUMENTCHARSETINFO_IID;

extern(System):
  nsresult GetForcedCharset(nsIAtom  *aForcedCharset);
  nsresult SetForcedCharset(nsIAtom  aForcedCharset);
  nsresult GetForcedDetector(PRBool *aForcedDetector);
  nsresult SetForcedDetector(PRBool aForcedDetector);
  nsresult GetParentCharset(nsIAtom  *aParentCharset);
  nsresult SetParentCharset(nsIAtom  aParentCharset);
  nsresult GetParentCharsetSource(PRInt32 *aParentCharsetSource);
  nsresult SetParentCharsetSource(PRInt32 aParentCharsetSource);

}