comparison dwt/internal/mozilla/nsIDOMStorage.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents 942da4b6558a
children
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
13 13
14 const nsIID NS_IDOMSTORAGE_IID= 14 const nsIID NS_IDOMSTORAGE_IID=
15 {0x95cc1383, 0x3b62, 0x4b89, 15 {0x95cc1383, 0x3b62, 0x4b89,
16 [ 0xaa, 0xef, 0x10, 0x04, 0xa5, 0x13, 0xef, 0x47 ]}; 16 [ 0xaa, 0xef, 0x10, 0x04, 0xa5, 0x13, 0xef, 0x47 ]};
17 17
18 //extern(System)
19
20 interface nsIDOMStorage : nsISupports { 18 interface nsIDOMStorage : nsISupports {
21 19
22 static const char[] IID_STR = NS_IDOMSTORAGE_IID_STR; 20 static const char[] IID_STR = NS_IDOMSTORAGE_IID_STR;
23 static const nsIID IID = NS_IDOMSTORAGE_IID; 21 static const nsIID IID = NS_IDOMSTORAGE_IID;
24 22
23 extern(System):
25 nsresult GetLength(PRUint32 *aLength); 24 nsresult GetLength(PRUint32 *aLength);
26 nsresult Key(PRUint32 index, nsAString * _retval); 25 nsresult Key(PRUint32 index, nsAString * _retval);
27 nsresult GetItem(nsAString * key, nsIDOMStorageItem *_retval); 26 nsresult GetItem(nsAString * key, nsIDOMStorageItem *_retval);
28 nsresult SetItem(nsAString * key, nsAString * data); 27 nsresult SetItem(nsAString * key, nsAString * data);
29 nsresult RemoveItem(nsAString * key); 28 nsresult RemoveItem(nsAString * key);