michael@0: COMPONENT(MEMORY, nsMemoryImpl::Create) michael@0: COMPONENT(DEBUG, nsDebugImpl::Create) michael@0: COMPONENT(ERRORSERVICE, nsErrorService::Create) michael@0: michael@0: COMPONENT(CATEGORYMANAGER, nsCategoryManager::Create) michael@0: michael@0: COMPONENT(SCRIPTABLEINPUTSTREAM, nsScriptableInputStream::Create) michael@0: COMPONENT(BINARYINPUTSTREAM, nsBinaryInputStreamConstructor) michael@0: COMPONENT(BINARYOUTPUTSTREAM, nsBinaryOutputStreamConstructor) michael@0: COMPONENT(STORAGESTREAM, nsStorageStreamConstructor) michael@0: COMPONENT(VERSIONCOMPARATOR, nsVersionComparatorImplConstructor) michael@0: COMPONENT(SCRIPTABLEBASE64ENCODER, nsScriptableBase64EncoderConstructor) michael@0: COMPONENT(PIPE, nsPipeConstructor) michael@0: michael@0: COMPONENT(PROPERTIES, nsPropertiesConstructor) michael@0: michael@0: COMPONENT(PERSISTENTPROPERTIES, nsPersistentProperties::Create) michael@0: michael@0: COMPONENT(SUPPORTSARRAY, nsSupportsArray::Create) michael@0: COMPONENT(ARRAY, nsArray::XPCOMConstructor) michael@0: COMPONENT(CONSOLESERVICE, nsConsoleServiceConstructor) michael@0: COMPONENT(ATOMSERVICE, nsAtomServiceConstructor) michael@0: COMPONENT(OBSERVERSERVICE, nsObserverService::Create) michael@0: #ifdef MOZ_VISUAL_EVENT_TRACER michael@0: COMPONENT(VISUALEVENTTRACER, VisualEventTracerConstructor) michael@0: #endif michael@0: michael@0: COMPONENT(TIMER, nsTimerImplConstructor) michael@0: michael@0: #define COMPONENT_SUPPORTS(TYPE, Type) \ michael@0: COMPONENT(SUPPORTS_##TYPE, nsSupports##Type##ImplConstructor) michael@0: michael@0: COMPONENT_SUPPORTS(ID, ID) michael@0: COMPONENT_SUPPORTS(STRING, String) michael@0: COMPONENT_SUPPORTS(CSTRING, CString) michael@0: COMPONENT_SUPPORTS(PRBOOL, PRBool) michael@0: COMPONENT_SUPPORTS(PRUINT8, PRUint8) michael@0: COMPONENT_SUPPORTS(PRUINT16, PRUint16) michael@0: COMPONENT_SUPPORTS(PRUINT32, PRUint32) michael@0: COMPONENT_SUPPORTS(PRUINT64, PRUint64) michael@0: COMPONENT_SUPPORTS(PRTIME, PRTime) michael@0: COMPONENT_SUPPORTS(CHAR, Char) michael@0: COMPONENT_SUPPORTS(PRINT16, PRInt16) michael@0: COMPONENT_SUPPORTS(PRINT32, PRInt32) michael@0: COMPONENT_SUPPORTS(PRINT64, PRInt64) michael@0: COMPONENT_SUPPORTS(FLOAT, Float) michael@0: COMPONENT_SUPPORTS(DOUBLE, Double) michael@0: COMPONENT_SUPPORTS(VOID, Void) michael@0: COMPONENT_SUPPORTS(INTERFACE_POINTER, InterfacePointer) michael@0: michael@0: #undef COMPONENT_SUPPORTS michael@0: COMPONENT(LOCAL_FILE, nsLocalFile::nsLocalFileConstructor) michael@0: COMPONENT(DIRECTORY_SERVICE, nsDirectoryService::Create) michael@0: COMPONENT(PROCESS, nsProcessConstructor) michael@0: COMPONENT(ENVIRONMENT, nsEnvironment::Create) michael@0: michael@0: COMPONENT(THREADMANAGER, nsThreadManagerGetSingleton) michael@0: COMPONENT(THREADPOOL, nsThreadPoolConstructor) michael@0: michael@0: COMPONENT(STRINGINPUTSTREAM, nsStringInputStreamConstructor) michael@0: COMPONENT(MULTIPLEXINPUTSTREAM, nsMultiplexInputStreamConstructor) michael@0: michael@0: COMPONENT(VARIANT, nsVariantConstructor) michael@0: COMPONENT(INTERFACEINFOMANAGER_SERVICE, nsXPTIInterfaceInfoManagerGetSingleton) michael@0: michael@0: COMPONENT(HASH_PROPERTY_BAG, nsHashPropertyBagConstructor) michael@0: michael@0: COMPONENT(UUID_GENERATOR, nsUUIDGeneratorConstructor) michael@0: michael@0: #if defined(XP_WIN) michael@0: COMPONENT(WINDOWSREGKEY, nsWindowsRegKeyConstructor) michael@0: #endif michael@0: michael@0: #if defined(MOZ_WIDGET_COCOA) michael@0: COMPONENT(MACUTILSIMPL, nsMacUtilsImplConstructor) michael@0: #endif michael@0: michael@0: COMPONENT(SYSTEMINFO, nsSystemInfoConstructor) michael@0: COMPONENT(MEMORY_REPORTER_MANAGER, nsMemoryReporterManagerConstructor) michael@0: COMPONENT(MEMORY_INFO_DUMPER, nsMemoryInfoDumperConstructor) michael@0: COMPONENT(IOUTIL, nsIOUtilConstructor) michael@0: COMPONENT(CYCLE_COLLECTOR_LOGGER, nsCycleCollectorLoggerConstructor) michael@0: COMPONENT(MESSAGE_LOOP, nsMessageLoopConstructor) michael@0: COMPONENT(STATUS_REPORTER_MANAGER, nsStatusReporterManagerConstructor)