view dwt/internal/mozilla/nsIWeakReference.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.nsIWeakReference;

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

/******************************************************************************

******************************************************************************/

const char[] NS_IWEAKREFERENCE_IID_STR = "9188bc85-f92e-11d2-81ef-0060083a0bcf";

const nsIID NS_IWEAKREFERENCE_IID= 
  {0x9188bc85, 0xf92e, 0x11d2, 
    [ 0x81, 0xef, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf ]};

extern(System)

interface nsIWeakReference : nsISupports {

  static const char[] IID_STR = NS_IWEAKREFERENCE_IID_STR;
  static const nsIID IID = NS_IWEAKREFERENCE_IID;

  nsresult QueryReferent(nsIID * uuid, void * *result);

}

/******************************************************************************

******************************************************************************/

const char[] NS_ISUPPORTSWEAKREFERENCE_IID_STR = "9188bc86-f92e-11d2-81ef-0060083a0bcf";

const nsIID NS_ISUPPORTSWEAKREFERENCE_IID= 
  {0x9188bc86, 0xf92e, 0x11d2, 
    [ 0x81, 0xef, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf ]};

extern(System)

interface nsISupportsWeakReference : nsISupports {

  static const char[] IID_STR = NS_ISUPPORTSWEAKREFERENCE_IID_STR;
  static const nsIID IID = NS_ISUPPORTSWEAKREFERENCE_IID;

  nsresult GetWeakReference(nsIWeakReference *_retval);

}