Mercurial > projects > dwt-linux
view dwt/internal/mozilla/nsICookieManager2.d @ 341:942da4b6558a
Ongoing fixup for compile
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 21:19:51 -0700 |
parents | dd63eb078d7a |
children | 9a4d7706df52 |
line wrap: on
line source
module dwt.internal.mozilla.nsICookieManager2; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsICookieManager; import dwt.internal.mozilla.nsICookie2; import dwt.internal.mozilla.nsStringAPI; const char[] NS_ICOOKIEMANAGER2_IID_STR = "3e73ff5f-154e-494f-b640-3c654ba2cc2b"; const nsIID NS_ICOOKIEMANAGER2_IID= {0x3e73ff5f, 0x154e, 0x494f, [ 0xb6, 0x40, 0x3c, 0x65, 0x4b, 0xa2, 0xcc, 0x2b ]}; //extern(System) interface nsICookieManager2 : nsICookieManager { static const char[] IID_STR = NS_ICOOKIEMANAGER2_IID_STR; static const nsIID IID = NS_ICOOKIEMANAGER2_IID; nsresult Add(nsACString * aDomain, nsACString * aPath, nsACString * aName, nsACString * aValue, PRBool aSecure, PRBool aIsSession, PRInt64 aExpiry); nsresult FindMatchingCookie(nsICookie2 aCookie, PRUint32 *aCountFromHost, PRBool *_retval); }