comparison dwt/internal/mozilla.old/nsIDOMStorage.d @ 288:4ee8c4237614

old branches... commit by mistake
author John Reimer<terminal.node@gmail.com>
date Tue, 05 Aug 2008 18:00:50 -0700
parents
children
comparison
equal deleted inserted replaced
287:9cbe6285f746 288:4ee8c4237614
1 module dwt.internal.mozilla.nsIDOMStorage;
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 import dwt.internal.mozilla.nsIDOMStorageItem;
9
10 alias PRUint64 DOMTimeStamp;
11
12 const char[] NS_IDOMSTORAGE_IID_STR = "95cc1383-3b62-4b89-aaef-1004a513ef47";
13
14 const nsIID NS_IDOMSTORAGE_IID=
15 {0x95cc1383, 0x3b62, 0x4b89,
16 [ 0xaa, 0xef, 0x10, 0x04, 0xa5, 0x13, 0xef, 0x47 ]};
17
18 extern(System)
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 nsresult GetLength(PRUint32 *aLength);
26 nsresult Key(PRUint32 index, nsAString * _retval);
27 nsresult GetItem(nsAString * key, nsIDOMStorageItem *_retval);
28 nsresult SetItem(nsAString * key, nsAString * data);
29 nsresult RemoveItem(nsAString * key);
30
31 }
32