1 module org.eclipse.swt.internal.mozilla.nsIDOMNamedNodeMap;
2 
3 import java.lang.all;
4 
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsID;
7 import org.eclipse.swt.internal.mozilla.nsISupports;
8 
9 import org.eclipse.swt.internal.mozilla.nsIDOMNode;
10 import org.eclipse.swt.internal.mozilla.nsStringAPI;
11 
12 alias PRUint64 DOMTimeStamp;
13 
14 const char[] NS_IDOMNAMEDNODEMAP_IID_STR = "a6cf907b-15b3-11d2-932e-00805f8add32";
15 
16 const nsIID NS_IDOMNAMEDNODEMAP_IID= 
17   {0xa6cf907b, 0x15b3, 0x11d2, 
18     [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]};
19 
20 interface nsIDOMNamedNodeMap : nsISupports {
21 
22   static const char[] IID_STR = NS_IDOMNAMEDNODEMAP_IID_STR;
23   static const nsIID IID = NS_IDOMNAMEDNODEMAP_IID;
24 
25 extern(System):
26   nsresult GetNamedItem(nsAString * name, nsIDOMNode *_retval);
27   nsresult SetNamedItem(nsIDOMNode arg, nsIDOMNode *_retval);
28   nsresult RemoveNamedItem(nsAString * name, nsIDOMNode *_retval);
29   nsresult Item(PRUint32 index, nsIDOMNode *_retval);
30   nsresult GetLength(PRUint32 *aLength);
31   nsresult GetNamedItemNS(nsAString * namespaceURI, nsAString * localName, nsIDOMNode *_retval);
32   nsresult SetNamedItemNS(nsIDOMNode arg, nsIDOMNode *_retval);
33   nsresult RemoveNamedItemNS(nsAString * namespaceURI, nsAString * localName, nsIDOMNode *_retval);
34 
35 }
36