add: catman.addCategoryEntry("command-line-handler", "m-calendar", CLINE_SERVICE_CONTRACTID, true, true); 
context: CalendarModule.registerSelf =function (compMgr, fileSpec, location, type){    // dump("*** Registering -calendar handler.\n");    compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar);    compMgr.registerFactoryLocation(CLINE_SERVICE_CID,                                    "Calendar CommandLine Service",                                    CLINE_SERVICE_CONTRACTID,                                    fileSpec,                                    location,                                    type);    catman = Components.classes["@mozilla.org/categorymanager;1"]                       .getService(nsICategoryManager);    catman.addCategoryEntry("command-line-argument-handlers",                            "calendar command line handler",                            CLINE_SERVICE_CONTRACTID, true, true);    // dump("*** Registering text/calendar handler.\n");    compMgr.registerFactoryLocation(ICALCNT_HANDLER_CID,                                    "Webcal Content Handler",                                    ICALCNT_HANDLER_CONTRACTID,                                    fileSpec,                                    location,                                    type);    // dump("*** Registering webcal protocol handler.\n");    compMgr.registerFactoryLocation(ICALPROT_HANDLER_CID,                                    "Webcal protocol handler",                                    ICALPROT_HANDLER_CONTRACTID,                                    fileSpec,                                    location,                                    type);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f3dd951f94532dd56e9579ea78471a34b6d33aca/calendarService.js/clean/calendar/resources/content/calendarService.js