New session history methods Set/GetHistoryObjectForUrl()

This commit is contained in:
radha%netscape.com 1999-09-02 21:53:28 +00:00
Родитель db8d6a8711
Коммит 82f78cfc28
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -2026,6 +2026,24 @@ nsBrowserAppCore::SetTitleForIndex(PRInt32 aIndex, const PRUnichar* aTitle)
mSHistory->SetTitleForIndex(aIndex, aTitle);
return NS_OK;
}
NS_IMETHODIMP
nsBrowserAppCore::GetHistoryObjectForIndex(PRInt32 aIndex, nsISupports ** aState)
{
if (mSHistory)
mSHistory->GetHistoryObjectForIndex(aIndex, aState);
return NS_OK;
}
NS_IMETHODIMP
nsBrowserAppCore::SetHistoryObjectForIndex(PRInt32 aIndex, nsISupports * aState)
{
if (mSHistory)
mSHistory->SetHistoryObjectForIndex(aIndex, aState);
return NS_OK;
}
/*
NS_IMETHODIMP
cloneHistory(nsISessionHistory * aSessionHistory) {

Просмотреть файл

@ -132,6 +132,9 @@ class nsBrowserInstance : public nsIBrowserInstance,
NS_IMETHOD SetTitleForIndex(PRInt32 aIndex, const PRUnichar * aTitle);
NS_IMETHOD GetHistoryObjectForIndex(PRInt32 aIndex, nsISupports ** aState);
NS_IMETHOD SetHistoryObjectForIndex(PRInt32 aIndex, nsISupports * aState);
protected:
NS_IMETHOD DoDialog();