Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIDOMElement.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
290:4c1340edee0d | 291:b0bd1789106b |
---|---|
1 module dwt.internal.mozilla.nsIDOMElement; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 | |
6 import dwt.internal.mozilla.nsIDOMNode; | |
7 import dwt.internal.mozilla.nsIDOMNodeList; | |
8 import dwt.internal.mozilla.nsIDOMAttr; | |
9 import dwt.internal.mozilla.nsStringAPI; | |
10 | |
11 const char[] NS_IDOMELEMENT_IID_STR = "a6cf9078-15b3-11d2-932e-00805f8add32"; | |
12 | |
13 const nsIID NS_IDOMELEMENT_IID= | |
14 {0xa6cf9078, 0x15b3, 0x11d2, | |
15 [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]}; | |
16 | |
17 extern(System) | |
18 | |
19 interface nsIDOMElement : nsIDOMNode { | |
20 | |
21 static const char[] IID_STR = NS_IDOMELEMENT_IID_STR; | |
22 static const nsIID IID = NS_IDOMELEMENT_IID; | |
23 | |
24 nsresult GetTagName(nsAString * aTagName); | |
25 nsresult GetAttribute(nsAString * name, nsAString * _retval); | |
26 nsresult SetAttribute(nsAString * name, nsAString * value); | |
27 nsresult RemoveAttribute(nsAString * name); | |
28 nsresult GetAttributeNode(nsAString * name, nsIDOMAttr *_retval); | |
29 nsresult SetAttributeNode(nsIDOMAttr newAttr, nsIDOMAttr *_retval); | |
30 nsresult RemoveAttributeNode(nsIDOMAttr oldAttr, nsIDOMAttr *_retval); | |
31 nsresult GetElementsByTagName(nsAString * name, nsIDOMNodeList *_retval); | |
32 nsresult GetAttributeNS(nsAString * namespaceURI, nsAString * localName, nsAString * _retval); | |
33 nsresult SetAttributeNS(nsAString * namespaceURI, nsAString * qualifiedName, nsAString * value); | |
34 nsresult RemoveAttributeNS(nsAString * namespaceURI, nsAString * localName); | |
35 nsresult GetAttributeNodeNS(nsAString * namespaceURI, nsAString * localName, nsIDOMAttr *_retval); | |
36 nsresult SetAttributeNodeNS(nsIDOMAttr newAttr, nsIDOMAttr *_retval); | |
37 nsresult GetElementsByTagNameNS(nsAString * namespaceURI, nsAString * localName, nsIDOMNodeList *_retval); | |
38 nsresult HasAttribute(nsAString * name, PRBool *_retval); | |
39 nsresult HasAttributeNS(nsAString * namespaceURI, nsAString * localName, PRBool *_retval); | |
40 | |
41 } | |
42 |