Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsISHistory.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsISHistory; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 | |
7 import org.eclipse.swt.internal.mozilla.nsIHistoryEntry; | |
8 import org.eclipse.swt.internal.mozilla.nsISHistoryListener; | |
9 import org.eclipse.swt.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 |