1 module org.eclipse.swt.internal.mozilla.nsIDOMStorage; 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.nsStringAPI; 10 import org.eclipse.swt.internal.mozilla.nsIDOMStorageItem; 11 12 alias PRUint64 DOMTimeStamp; 13 14 const char[] NS_IDOMSTORAGE_IID_STR = "95cc1383-3b62-4b89-aaef-1004a513ef47"; 15 16 const nsIID NS_IDOMSTORAGE_IID= 17 {0x95cc1383, 0x3b62, 0x4b89, 18 [ 0xaa, 0xef, 0x10, 0x04, 0xa5, 0x13, 0xef, 0x47 ]}; 19 20 interface nsIDOMStorage : nsISupports { 21 22 static const char[] IID_STR = NS_IDOMSTORAGE_IID_STR; 23 static const nsIID IID = NS_IDOMSTORAGE_IID; 24 25 extern(System): 26 nsresult GetLength(PRUint32 *aLength); 27 nsresult Key(PRUint32 index, nsAString * _retval); 28 nsresult GetItem(nsAString * key, nsIDOMStorageItem *_retval); 29 nsresult SetItem(nsAString * key, nsAString * data); 30 nsresult RemoveItem(nsAString * key); 31 32 } 33