Added getter stubs for document and selection

This commit is contained in:
sfraser%netscape.com 1999-04-13 01:31:23 +00:00
parent bd38d52f40
commit 5d298d534d
2 changed files with 20 additions and 2 deletions

View File

@ -946,6 +946,20 @@ nsEditorAppCore::GetContentsAsHTML(nsString& aContentsAsHTML)
}
NS_IMETHODIMP
nsEditorAppCore::GetEditorDocument(nsIDOMDocument** aEditorDocument)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsEditorAppCore::GetEditorSelection(nsIDOMSelection** aEditorSelection)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
// Pop up the link dialog once we have dialogs ... for now, hardwire it
NS_IMETHODIMP
nsEditorAppCore::InsertLink()

View File

@ -64,11 +64,15 @@ class nsEditorAppCore : public nsBaseAppCore,
NS_IMETHOD SetTextProperty(const nsString& aAttr);
NS_IMETHOD RemoveTextProperty(const nsString& aAttr);
NS_IMETHOD GetTextProperty(const nsString& aAttr, PRBool* aFirstHas, PRBool* aAnyHas, PRBool* aAllHas);
NS_IMETHOD GetContentsAsText(nsString& aContentsAsText);
NS_IMETHOD GetContentsAsHTML(nsString& aContentsAsHTML);
NS_IMETHOD GetEditorDocument(nsIDOMDocument** aEditorDocument);
NS_IMETHOD GetEditorSelection(nsIDOMSelection** aEditorSelection);
NS_IMETHOD Undo();
NS_IMETHOD Redo();
NS_IMETHOD Back();
NS_IMETHOD GetContentsAsText(nsString& aContentsAsText);
NS_IMETHOD GetContentsAsHTML(nsString& aContentsAsHTML);
NS_IMETHOD Forward();
NS_IMETHOD LoadUrl(const nsString& aUrl);
NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin);