|
Revision 327:b0d7eb5bd76c, 0.7 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 1 |
module dwt.internal.mozilla.nsIDebug; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsISupports; |
|---|
| 6 |
|
|---|
| 7 |
const char[] NS_IDEBUG_IID_STR = "3bf0c3d7-3bd9-4cf2-a971-33572c503e1e"; |
|---|
| 8 |
|
|---|
| 9 |
const nsIID NS_IDEBUG_IID= |
|---|
| 10 |
{0x3bf0c3d7, 0x3bd9, 0x4cf2, |
|---|
| 11 |
[ 0xa9, 0x71, 0x33, 0x57, 0x2c, 0x50, 0x3e, 0x1e ]}; |
|---|
| 12 |
|
|---|
| 13 |
interface nsIDebug : nsISupports { |
|---|
| 14 |
static const char[] IID_STR = NS_IDEBUG_IID_STR; |
|---|
| 15 |
static const nsIID IID = NS_IDEBUG_IID; |
|---|
| 16 |
|
|---|
| 17 |
extern(System): |
|---|
| 18 |
nsresult Assertion(char *aStr, char *aExpr, char *aFile, PRInt32 aLine); |
|---|
| 19 |
nsresult Warning(char *aStr, char *aFile, PRInt32 aLine); |
|---|
| 20 |
nsresult Break(char *aFile, PRInt32 aLine); |
|---|
| 21 |
nsresult Abort(char *aFile, PRInt32 aLine); |
|---|
| 22 |
} |
|---|