comparison dwt/internal/mozilla/nsIAtom.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
comparison
equal deleted inserted replaced
271:d472fae79005 272:dd63eb078d7a
1 module dwt.internal.mozilla.nsIAtom;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 import dwt.internal.mozilla.nsStringAPI;
8
9 const char[] NS_IATOM_IID_STR = "3d1b15b0-93b4-11d1-895b-006008911b81";
10
11 const nsIID NS_IATOM_IID=
12 {0x3d1b15b0, 0x93b4, 0x11d1,
13 [ 0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81 ]};
14
15 extern(System)
16
17 interface nsIAtom : nsISupports {
18
19 static const char[] IID_STR = NS_IATOM_IID_STR;
20 static const nsIID IID = NS_IATOM_IID;
21
22 nsresult ToString(nsAString * _retval);
23 nsresult ToUTF8String(nsACString * _retval);
24 nsresult GetUTF8String(char **aResult);
25 nsresult Equals(nsAString * aString, PRBool *_retval);
26 nsresult EqualsUTF8(nsACString * aString, PRBool *_retval);
27
28 }
29