comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsISHEntry.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.nsISHEntry;
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.nsIContentViewer;
9 import org.eclipse.swt.internal.mozilla.nsIURI;
10 import org.eclipse.swt.internal.mozilla.nsIInputStream;
11 import org.eclipse.swt.internal.mozilla.nsIDocShellTreeItem;
12 import org.eclipse.swt.internal.mozilla.nsISupportsArray;
13 import org.eclipse.swt.internal.mozilla.nsStringAPI;
14
15 const char[] NS_ISHENTRY_IID_STR = "542a98b9-2889-4922-aaf4-02b6056f4136";
16
17 const nsIID NS_ISHENTRY_IID=
18 {0x542a98b9, 0x2889, 0x4922,
19 [ 0xaa, 0xf4, 0x02, 0xb6, 0x05, 0x6f, 0x41, 0x36 ]};
20
21 interface nsISHEntry : nsIHistoryEntry {
22
23 static const char[] IID_STR = NS_ISHENTRY_IID_STR;
24 static const nsIID IID = NS_ISHENTRY_IID;
25
26 extern(System):
27 nsresult SetURI(nsIURI aURI);
28 nsresult GetReferrerURI(nsIURI *aReferrerURI);
29 nsresult SetReferrerURI(nsIURI aReferrerURI);
30 nsresult GetContentViewer(nsIContentViewer *aContentViewer);
31 nsresult SetContentViewer(nsIContentViewer aContentViewer);
32 nsresult GetSticky(PRBool *aSticky);
33 nsresult SetSticky(PRBool aSticky);
34 nsresult GetWindowState(nsISupports *aWindowState);
35 nsresult SetWindowState(nsISupports aWindowState);
36 nsresult GetViewerBounds(nsRect * bounds);
37 nsresult SetViewerBounds(nsRect * bounds);
38 nsresult AddChildShell(nsIDocShellTreeItem shell);
39 nsresult ChildShellAt(PRInt32 index, nsIDocShellTreeItem *_retval);
40 nsresult ClearChildShells();
41 nsresult GetRefreshURIList(nsISupportsArray *aRefreshURIList);
42 nsresult SetRefreshURIList(nsISupportsArray aRefreshURIList);
43 nsresult SyncPresentationState();
44 nsresult SetTitle(nsAString * aTitle);
45 nsresult GetPostData(nsIInputStream *aPostData);
46 nsresult SetPostData(nsIInputStream aPostData);
47 nsresult GetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState);
48 nsresult SetLayoutHistoryState(nsILayoutHistoryState aLayoutHistoryState);
49 nsresult GetParent(nsISHEntry *aParent);
50 nsresult SetParent(nsISHEntry aParent);
51 nsresult GetLoadType(PRUint32 *aLoadType);
52 nsresult SetLoadType(PRUint32 aLoadType);
53 nsresult GetID(PRUint32 *aID);
54 nsresult SetID(PRUint32 aID);
55 nsresult GetPageIdentifier(PRUint32 *aPageIdentifier);
56 nsresult SetPageIdentifier(PRUint32 aPageIdentifier);
57 nsresult GetCacheKey(nsISupports *aCacheKey);
58 nsresult SetCacheKey(nsISupports aCacheKey);
59 nsresult GetSaveLayoutStateFlag(PRBool *aSaveLayoutStateFlag);
60 nsresult SetSaveLayoutStateFlag(PRBool aSaveLayoutStateFlag);
61 nsresult GetExpirationStatus(PRBool *aExpirationStatus);
62 nsresult SetExpirationStatus(PRBool aExpirationStatus);
63 nsresult GetContentType(nsACString * aContentType);
64 nsresult SetContentType(nsACString * aContentType);
65 nsresult SetScrollPosition(PRInt32 x, PRInt32 y);
66 nsresult GetScrollPosition(PRInt32 *x, PRInt32 *y);
67 nsresult Create(nsIURI URI, nsAString * title, nsIInputStream inputStream, nsILayoutHistoryState layoutHistoryState, nsISupports cacheKey, nsACString * contentType);
68 nsresult Clone(nsISHEntry *_retval);
69 nsresult SetIsSubFrame(PRBool aFlag);
70 nsresult GetAnyContentViewer(nsISHEntry *ownerEntry, nsIContentViewer *_retval);
71
72 }
73