view dwt/internal/mozilla/nsIDebug.d @ 298:eec6ddb07873

More xpcom/mozilla port
author John Reimer<terminal.node@gmail.com>
date Sun, 10 Aug 2008 22:25:43 -0700
parents dd63eb078d7a
children 942da4b6558a
line wrap: on
line source

module dwt.internal.mozilla.nsIDebug;

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

const char[] NS_IDEBUG_IID_STR = "3bf0c3d7-3bd9-4cf2-a971-33572c503e1e";

const nsIID NS_IDEBUG_IID= 
  {0x3bf0c3d7, 0x3bd9, 0x4cf2, 
    [ 0xa9, 0x71, 0x33, 0x57, 0x2c, 0x50, 0x3e, 0x1e ]};

extern(System)
interface nsIDebug : nsISupports {
  static const char[] IID_STR = NS_IDEBUG_IID_STR;
  static const nsIID IID = NS_IDEBUG_IID;

  nsresult Assertion(char *aStr, char *aExpr, char *aFile, PRInt32 aLine);
  nsresult Warning(char *aStr, char *aFile, PRInt32 aLine);
  nsresult Break(char *aFile, PRInt32 aLine);
  nsresult Abort(char *aFile, PRInt32 aLine);
}