Srinivasa Raghavan wrote:
> 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);
I presume that you have also registered your component correctly under
NS_QENGINE_CONTRACTID, and that it implements and QIs to nsICommandLineHandler?
The code you've posted, without additional information, looks correct.
--BDS
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding