|
Revision 327:b0d7eb5bd76c, 0.7 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 1 |
module dwt.internal.mozilla.nsICookie2; |
|---|
| 2 |
|
|---|
| 3 |
import dwt.internal.mozilla.Common; |
|---|
| 4 |
import dwt.internal.mozilla.nsID; |
|---|
| 5 |
import dwt.internal.mozilla.nsICookie; |
|---|
| 6 |
import dwt.internal.mozilla.nsStringAPI; |
|---|
| 7 |
|
|---|
| 8 |
const char[] NS_ICOOKIE2_IID_STR = "d3493503-7854-46ed-8284-8af54a847efb"; |
|---|
| 9 |
|
|---|
| 10 |
const nsIID NS_ICOOKIE2_IID= |
|---|
| 11 |
{0xd3493503, 0x7854, 0x46ed, |
|---|
| 12 |
[ 0x82, 0x84, 0x8a, 0xf5, 0x4a, 0x84, 0x7e, 0xfb ]}; |
|---|
| 13 |
|
|---|
| 14 |
interface nsICookie2 : nsICookie { |
|---|
| 15 |
|
|---|
| 16 |
static const char[] IID_STR = NS_ICOOKIE2_IID_STR; |
|---|
| 17 |
static const nsIID IID = NS_ICOOKIE2_IID; |
|---|
| 18 |
|
|---|
| 19 |
extern(System): |
|---|
| 20 |
nsresult GetRawHost(nsACString * aRawHost); |
|---|
| 21 |
nsresult GetIsSession(PRBool *aIsSession); |
|---|
| 22 |
nsresult GetExpiry(PRInt64 *aExpiry); |
|---|
| 23 |
} |
|---|