view dwt/internal/mozilla.old/nsIWeakReference.d @ 288:4ee8c4237614

old branches... commit by mistake
author John Reimer<terminal.node@gmail.com>
date Tue, 05 Aug 2008 18:00:50 -0700
parents
children
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);

}