| 1 |
module dwt.internal.mozilla.nsISHistory; |
|---|
| 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.nsIHistoryEntry; |
|---|
| 8 |
import dwt.internal.mozilla.nsISHistoryListener; |
|---|
| 9 |
import dwt.internal.mozilla.nsISimpleEnumerator; |
|---|
| 10 |
|
|---|
| 11 |
const char[] NS_ISHISTORY_IID_STR = "7294fe9b-14d8-11d5-9882-00c04fa02f40"; |
|---|
| 12 |
|
|---|
| 13 |
const nsIID NS_ISHISTORY_IID= |
|---|
| 14 |
{0x7294fe9b, 0x14d8, 0x11d5, |
|---|
| 15 |
[ 0x98, 0x82, 0x00, 0xc0, 0x4f, 0xa0, 0x2f, 0x40 ]}; |
|---|
| 16 |
|
|---|
| 17 |
interface nsISHistory : nsISupports { |
|---|
| 18 |
|
|---|
| 19 |
static const char[] IID_STR = NS_ISHISTORY_IID_STR; |
|---|
| 20 |
static const nsIID IID = NS_ISHISTORY_IID; |
|---|
| 21 |
|
|---|
| 22 |
extern(System): |
|---|
| 23 |
nsresult GetCount(PRInt32 *aCount); |
|---|
| 24 |
nsresult GetIndex(PRInt32 *aIndex); |
|---|
| 25 |
nsresult GetMaxLength(PRInt32 *aMaxLength); |
|---|
| 26 |
nsresult SetMaxLength(PRInt32 aMaxLength); |
|---|
| 27 |
nsresult GetEntryAtIndex(PRInt32 index, PRBool modifyIndex, nsIHistoryEntry *_retval); |
|---|
| 28 |
nsresult PurgeHistory(PRInt32 numEntries); |
|---|
| 29 |
nsresult AddSHistoryListener(nsISHistoryListener aListener); |
|---|
| 30 |
nsresult RemoveSHistoryListener(nsISHistoryListener aListener); |
|---|
| 31 |
nsresult GetSHistoryEnumerator(nsISimpleEnumerator *aSHistoryEnumerator); |
|---|
| 32 |
|
|---|
| 33 |
} |
|---|