Corrected comments for Do(), Undo(), and Redo().

git-svn-id: svn://10.0.0.236/trunk@15044 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kin%netscape.com 1998-11-20 20:59:40 +00:00
parent 9f52a9cb6d
commit fbb3c4f42e

View File

@ -43,7 +43,7 @@ class nsITransactionManager : public nsISupports{
public:
/**
* Places a transaction on the do stack and calls it's Do() method.
* Calls a transaction's Do() method, then pushes it on the undo stack.
* <P>
* This method calls the transaction's AddRef() method.
* The transaction's Release() method will be called when the undo or redo
@ -53,14 +53,14 @@ public:
virtual nsresult Do(nsITransaction *aTransaction) = 0;
/**
* Pops the topmost transaction on the do stack, pushes it on the undo
* stack, then calls it's Undo() method.
* Pops the topmost transaction on the undo stack, calls it's Undo() method,
* then pushes it on the redo stack.
*/
virtual nsresult Undo(void) = 0;
/**
* Pops the topmost transaction on the undo stack, pushes it on the redo
* stack, then calls it's Redo() method.
* Pops the topmost transaction on the redo stack, calls it's Redo() method,
* then pushes it on the undo stack.
*/
virtual nsresult Redo(void) = 0;