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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user