Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsICookieManager2.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.nsICookieManager2; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsICookieManager; | |
6 import dwt.internal.mozilla.nsICookie2; | |
7 import dwt.internal.mozilla.nsStringAPI; | |
8 | |
9 const char[] NS_ICOOKIEMANAGER2_IID_STR = "3e73ff5f-154e-494f-b640-3c654ba2cc2b"; | |
10 | |
11 const nsIID NS_ICOOKIEMANAGER2_IID= | |
12 {0x3e73ff5f, 0x154e, 0x494f, | |
13 [ 0xb6, 0x40, 0x3c, 0x65, 0x4b, 0xa2, 0xcc, 0x2b ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsICookieManager2 : nsICookieManager { | |
18 | |
19 static const char[] IID_STR = NS_ICOOKIEMANAGER2_IID_STR; | |
20 static const nsIID IID = NS_ICOOKIEMANAGER2_IID; | |
21 | |
22 nsresult Add(nsACString * aDomain, nsACString * aPath, nsACString * aName, nsACString * aValue, PRBool aSecure, PRBool aIsSession, PRInt64 aExpiry); | |
23 nsresult FindMatchingCookie(nsICookie2 aCookie, PRUint32 *aCountFromHost, PRBool *_retval); | |
24 } | |
25 |