view dwt/internal/mozilla/nsIObserver.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
line wrap: on
line source

module dwt.internal.mozilla.nsIObserver;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;

const char[] NS_IOBSERVER_IID_STR = "db242e01-e4d9-11d2-9dde-000064657374";

const nsIID NS_IOBSERVER_IID= 
  {0xdb242e01, 0xe4d9, 0x11d2, 
    [ 0x9d, 0xde, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 ]};

extern(System)

interface nsIObserver : nsISupports {

  static const char[] IID_STR = NS_IOBSERVER_IID_STR;
  static const nsIID IID = NS_IOBSERVER_IID;

  nsresult Observe(nsISupports aSubject, char *aTopic, PRUnichar *aData);

}