Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsISHistory.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
326:e4d29367b1fa | 327:b0d7eb5bd76c |
---|---|
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 } | |
34 |