Dear All,
I have an extension, for which i registered for "command-line-handler"
category.
I see in the compreg.dat file, where it has the entry for my extension.
I given a print in the Handle(nsICommandLine) method implementation but
which doesn't seem to be invoked.
My module file include following entry,
catman->AddCategoryEntry("command-line-handler","nsQEngineImpl",NS_QENGINE_CONTRACTID,PR_TRUE,PR_TRUE,&previous);
implementation for Handle is as follows
NS_IMETHODIMP nsQEngineImpl::Handle(nsICommandLine *cmdLine)
{
printf("Commandline invoke called \n");
PRUint32 state;
cmdLine->GetState(&state);
printf("State of browser launch is %d \n",state);
return NS_OK;
}
Kindly let me know if anything is wrong in this.
Thanks & Regards,
Raghavan
"Every new opinion, at its starting, is precisely in a minority of one."
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding