Added support for nsIDocumentStateListeners.

git-svn-id: svn://10.0.0.236/trunk@41409 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com 1999-07-28 02:56:33 +00:00
parent 13b527d50f
commit 3e40d72a75

View File

@ -30,6 +30,11 @@ class nsIFileSpec;
class nsIDOMTextRangeList;
class nsICSSStyleSheet;
class nsIOutputStream;
class nsIDocumentStateListener;
class nsIDOMDocument;
class nsIDOMSelection;
class nsIPresShell;
class nsString;
/*
Editor interface to outside world
@ -56,11 +61,6 @@ Editor interface to outside world
{ 0x98, 0x3a, 0x0, 0x80, 0x5f, 0x8a, 0xa8, 0xb8 } }
class nsIDOMDocument;
class nsIDOMSelection;
class nsIPresShell;
class nsString;
/**
* A generic editor interface.
* <P>
@ -428,6 +428,15 @@ public:
/** Remove an EditActionListener from the editor's list of listeners. */
NS_IMETHOD RemoveEditActionListener(nsIEditActionListener *aListener)=0;
/** Add a DocumentStateListener to the editors list of doc state listeners. */
NS_IMETHOD AddDocumentStateListener(nsIDocumentStateListener *aListener)=0;
/** Remove a DocumentStateListener to the editors list of doc state listeners. */
NS_IMETHOD RemoveDocumentStateListener(nsIDocumentStateListener *aListener)=0;
/** Returns true if the document is modifed and needs saving */
NS_IMETHOD GetDocumentModified(PRBool *outDocModified)=0;
/** Dumps a text representation of the content tree to standard out */
NS_IMETHOD DebugDumpContent() const =0;