move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser

git-svn-id: svn://10.0.0.236/trunk@61035 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2000-02-16 03:14:20 +00:00
parent 2f8cc30ff0
commit 48e63af399
12 changed files with 26 additions and 36 deletions

View File

@@ -33,7 +33,6 @@
#include "nsIDOMRange.h"
#include "nsHTMLEditorLog.h"
#include "nsCOMPtr.h"
#include "nsICmdLineHandler.h"
#include "nsEditorTxnLog.h"
@@ -68,11 +67,6 @@ nsHTMLEditorLog::QueryInterface(REFNSIID aIID, void** aInstancePtr)
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(NS_GET_IID(nsICmdLineHandler))) {
*aInstancePtr = (void*)(nsICmdLineHandler*)this;
NS_ADDREF_THIS();
return NS_OK;
}
return nsHTMLEditor::QueryInterface(aIID, aInstancePtr);
}
@@ -1399,5 +1393,3 @@ function EditorSetSelectionFromOffsets(selRanges)
}
#endif
CMDLINEHANDLER_IMPL(nsHTMLEditorLog,"-edit","general.startup.editor","chrome://editor/content/","Start with editor","component://netscape/editor/htmleditor","Editor Cmd Line Handler", PR_TRUE,"about:blank", PR_TRUE)