Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsISHistory.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.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 extern(System) | |
18 | |
19 interface nsISHistory : nsISupports { | |
20 | |
21 static const char[] IID_STR = NS_ISHISTORY_IID_STR; | |
22 static const nsIID IID = NS_ISHISTORY_IID; | |
23 | |
24 nsresult GetCount(PRInt32 *aCount); | |
25 nsresult GetIndex(PRInt32 *aIndex); | |
26 nsresult GetMaxLength(PRInt32 *aMaxLength); | |
27 nsresult SetMaxLength(PRInt32 aMaxLength); | |
28 nsresult GetEntryAtIndex(PRInt32 index, PRBool modifyIndex, nsIHistoryEntry *_retval); | |
29 nsresult PurgeHistory(PRInt32 numEntries); | |
30 nsresult AddSHistoryListener(nsISHistoryListener aListener); | |
31 nsresult RemoveSHistoryListener(nsISHistoryListener aListener); | |
32 nsresult GetSHistoryEnumerator(nsISimpleEnumerator *aSHistoryEnumerator); | |
33 | |
34 } | |
35 |