comparison dwt/internal/mozilla.old/nsISHEntry.d @ 288:4ee8c4237614

old branches... commit by mistake
author John Reimer<terminal.node@gmail.com>
date Tue, 05 Aug 2008 18:00:50 -0700
parents
children
comparison
equal deleted inserted replaced
287:9cbe6285f746 288:4ee8c4237614
1 module dwt.internal.mozilla.nsISHEntry;
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.nsIContentViewer;
9 import dwt.internal.mozilla.nsIURI;
10 import dwt.internal.mozilla.nsIInputStream;
11 import dwt.internal.mozilla.nsIDocShellTreeItem;
12 import dwt.internal.mozilla.nsISupportsArray;
13 import dwt.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 extern(System)
22
23 interface nsISHEntry : nsIHistoryEntry {
24
25 static const char[] IID_STR = NS_ISHENTRY_IID_STR;
26 static const nsIID IID = NS_ISHENTRY_IID;
27
28 nsresult SetURI(nsIURI aURI);
29 nsresult GetReferrerURI(nsIURI *aReferrerURI);
30 nsresult SetReferrerURI(nsIURI aReferrerURI);
31 nsresult GetContentViewer(nsIContentViewer *aContentViewer);
32 nsresult SetContentViewer(nsIContentViewer aContentViewer);
33 nsresult GetSticky(PRBool *aSticky);
34 nsresult SetSticky(PRBool aSticky);
35 nsresult GetWindowState(nsISupports *aWindowState);
36 nsresult SetWindowState(nsISupports aWindowState);
37 nsresult GetViewerBounds(nsRect * bounds);
38 nsresult SetViewerBounds(nsRect * bounds);
39 nsresult AddChildShell(nsIDocShellTreeItem shell);
40 nsresult ChildShellAt(PRInt32 index, nsIDocShellTreeItem *_retval);
41 nsresult ClearChildShells();
42 nsresult GetRefreshURIList(nsISupportsArray *aRefreshURIList);
43 nsresult SetRefreshURIList(nsISupportsArray aRefreshURIList);
44 nsresult SyncPresentationState();
45 nsresult SetTitle(nsAString * aTitle);
46 nsresult GetPostData(nsIInputStream *aPostData);
47 nsresult SetPostData(nsIInputStream aPostData);
48 nsresult GetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState);
49 nsresult SetLayoutHistoryState(nsILayoutHistoryState aLayoutHistoryState);
50 nsresult GetParent(nsISHEntry *aParent);
51 nsresult SetParent(nsISHEntry aParent);
52 nsresult GetLoadType(PRUint32 *aLoadType);
53 nsresult SetLoadType(PRUint32 aLoadType);
54 nsresult GetID(PRUint32 *aID);
55 nsresult SetID(PRUint32 aID);
56 nsresult GetPageIdentifier(PRUint32 *aPageIdentifier);
57 nsresult SetPageIdentifier(PRUint32 aPageIdentifier);
58 nsresult GetCacheKey(nsISupports *aCacheKey);
59 nsresult SetCacheKey(nsISupports aCacheKey);
60 nsresult GetSaveLayoutStateFlag(PRBool *aSaveLayoutStateFlag);
61 nsresult SetSaveLayoutStateFlag(PRBool aSaveLayoutStateFlag);
62 nsresult GetExpirationStatus(PRBool *aExpirationStatus);
63 nsresult SetExpirationStatus(PRBool aExpirationStatus);
64 nsresult GetContentType(nsACString * aContentType);
65 nsresult SetContentType(nsACString * aContentType);
66 nsresult SetScrollPosition(PRInt32 x, PRInt32 y);
67 nsresult GetScrollPosition(PRInt32 *x, PRInt32 *y);
68 nsresult Create(nsIURI URI, nsAString * title, nsIInputStream inputStream, nsILayoutHistoryState layoutHistoryState, nsISupports cacheKey, nsACString * contentType);
69 nsresult Clone(nsISHEntry *_retval);
70 nsresult SetIsSubFrame(PRBool aFlag);
71 nsresult GetAnyContentViewer(nsISHEntry *ownerEntry, nsIContentViewer *_retval);
72
73 }
74