more changes to get everyone using my arbitrary command line handling.

removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@60015 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2000-02-08 01:11:13 +00:00
parent 5d8aa604f7
commit 9590786254
24 changed files with 181 additions and 236 deletions

View File

@@ -33,6 +33,7 @@
#include "nsIDOMRange.h"
#include "nsHTMLEditorLog.h"
#include "nsCOMPtr.h"
#include "nsICmdLineHandler.h"
#include "nsEditorTxnLog.h"
@@ -67,6 +68,11 @@ 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);
}
@@ -1239,3 +1245,5 @@ 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")