kIEventQueueServiceIID,
NS_GET_IID(nsIEventQueueService),
NS_SetupRegistry(){  nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup,                                   NULL /* default */);	// startup netlib:		nsComponentManager::RegisterComponent(kEventQueueServiceCID, NULL, NULL, XPCOM_DLL, PR_FALSE, PR_FALSE);    nsComponentManager::RegisterComponent(kIOServiceCID, NULL, NULL, NETLIB_DLL, PR_FALSE, PR_FALSE);    // Create the Event Queue for this thread...    nsIEventQueueService* pEventQService;    	pEventQService = nsnull;    nsresult result = nsServiceManager::GetService(kEventQueueServiceCID,                                                   kIEventQueueServiceIID,                                                   (nsISupports **)&pEventQService);    if (NS_SUCCEEDED(result)) {      // XXX: What if this fails?      result = pEventQService->CreateThreadEventQueue();    }	nsComponentManager::RegisterComponent(kPersistentPropertiesCID,  										 NULL, 										 NULL, 										 RAPTORBASE_DLL, 										 PR_FALSE, 										 PR_FALSE);}