xpcom/build/XPCOMModule.inc

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/build/XPCOMModule.inc	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,84 @@
     1.4 +    COMPONENT(MEMORY, nsMemoryImpl::Create)
     1.5 +    COMPONENT(DEBUG,  nsDebugImpl::Create)
     1.6 +    COMPONENT(ERRORSERVICE, nsErrorService::Create)
     1.7 +
     1.8 +    COMPONENT(CATEGORYMANAGER, nsCategoryManager::Create)
     1.9 +
    1.10 +    COMPONENT(SCRIPTABLEINPUTSTREAM, nsScriptableInputStream::Create)
    1.11 +    COMPONENT(BINARYINPUTSTREAM, nsBinaryInputStreamConstructor)
    1.12 +    COMPONENT(BINARYOUTPUTSTREAM, nsBinaryOutputStreamConstructor)
    1.13 +    COMPONENT(STORAGESTREAM, nsStorageStreamConstructor)
    1.14 +    COMPONENT(VERSIONCOMPARATOR, nsVersionComparatorImplConstructor)
    1.15 +    COMPONENT(SCRIPTABLEBASE64ENCODER, nsScriptableBase64EncoderConstructor)
    1.16 +    COMPONENT(PIPE, nsPipeConstructor)
    1.17 +
    1.18 +    COMPONENT(PROPERTIES, nsPropertiesConstructor)
    1.19 +
    1.20 +    COMPONENT(PERSISTENTPROPERTIES, nsPersistentProperties::Create)
    1.21 +
    1.22 +    COMPONENT(SUPPORTSARRAY, nsSupportsArray::Create)
    1.23 +    COMPONENT(ARRAY, nsArray::XPCOMConstructor)
    1.24 +    COMPONENT(CONSOLESERVICE, nsConsoleServiceConstructor)
    1.25 +    COMPONENT(ATOMSERVICE, nsAtomServiceConstructor)
    1.26 +    COMPONENT(OBSERVERSERVICE, nsObserverService::Create)
    1.27 +#ifdef MOZ_VISUAL_EVENT_TRACER
    1.28 +    COMPONENT(VISUALEVENTTRACER, VisualEventTracerConstructor)
    1.29 +#endif
    1.30 +
    1.31 +    COMPONENT(TIMER, nsTimerImplConstructor)
    1.32 +
    1.33 +#define COMPONENT_SUPPORTS(TYPE, Type)                                         \
    1.34 +  COMPONENT(SUPPORTS_##TYPE, nsSupports##Type##ImplConstructor)
    1.35 +
    1.36 +    COMPONENT_SUPPORTS(ID, ID)
    1.37 +    COMPONENT_SUPPORTS(STRING, String)
    1.38 +    COMPONENT_SUPPORTS(CSTRING, CString)
    1.39 +    COMPONENT_SUPPORTS(PRBOOL, PRBool)
    1.40 +    COMPONENT_SUPPORTS(PRUINT8, PRUint8)
    1.41 +    COMPONENT_SUPPORTS(PRUINT16, PRUint16)
    1.42 +    COMPONENT_SUPPORTS(PRUINT32, PRUint32)
    1.43 +    COMPONENT_SUPPORTS(PRUINT64, PRUint64)
    1.44 +    COMPONENT_SUPPORTS(PRTIME, PRTime)
    1.45 +    COMPONENT_SUPPORTS(CHAR, Char)
    1.46 +    COMPONENT_SUPPORTS(PRINT16, PRInt16)
    1.47 +    COMPONENT_SUPPORTS(PRINT32, PRInt32)
    1.48 +    COMPONENT_SUPPORTS(PRINT64, PRInt64)
    1.49 +    COMPONENT_SUPPORTS(FLOAT, Float)
    1.50 +    COMPONENT_SUPPORTS(DOUBLE, Double)
    1.51 +    COMPONENT_SUPPORTS(VOID, Void)
    1.52 +    COMPONENT_SUPPORTS(INTERFACE_POINTER, InterfacePointer)
    1.53 +
    1.54 +#undef COMPONENT_SUPPORTS
    1.55 +    COMPONENT(LOCAL_FILE, nsLocalFile::nsLocalFileConstructor)
    1.56 +    COMPONENT(DIRECTORY_SERVICE, nsDirectoryService::Create)
    1.57 +    COMPONENT(PROCESS, nsProcessConstructor)
    1.58 +    COMPONENT(ENVIRONMENT, nsEnvironment::Create)
    1.59 +
    1.60 +    COMPONENT(THREADMANAGER, nsThreadManagerGetSingleton)
    1.61 +    COMPONENT(THREADPOOL, nsThreadPoolConstructor)
    1.62 +
    1.63 +    COMPONENT(STRINGINPUTSTREAM, nsStringInputStreamConstructor)
    1.64 +    COMPONENT(MULTIPLEXINPUTSTREAM, nsMultiplexInputStreamConstructor)
    1.65 +
    1.66 +    COMPONENT(VARIANT, nsVariantConstructor)
    1.67 +    COMPONENT(INTERFACEINFOMANAGER_SERVICE, nsXPTIInterfaceInfoManagerGetSingleton)
    1.68 +
    1.69 +    COMPONENT(HASH_PROPERTY_BAG, nsHashPropertyBagConstructor)
    1.70 +
    1.71 +    COMPONENT(UUID_GENERATOR, nsUUIDGeneratorConstructor)
    1.72 +
    1.73 +#if defined(XP_WIN)
    1.74 +    COMPONENT(WINDOWSREGKEY, nsWindowsRegKeyConstructor)
    1.75 +#endif
    1.76 +
    1.77 +#if defined(MOZ_WIDGET_COCOA)
    1.78 +    COMPONENT(MACUTILSIMPL, nsMacUtilsImplConstructor)
    1.79 +#endif
    1.80 +
    1.81 +    COMPONENT(SYSTEMINFO, nsSystemInfoConstructor)
    1.82 +    COMPONENT(MEMORY_REPORTER_MANAGER, nsMemoryReporterManagerConstructor)
    1.83 +    COMPONENT(MEMORY_INFO_DUMPER, nsMemoryInfoDumperConstructor)
    1.84 +    COMPONENT(IOUTIL, nsIOUtilConstructor)
    1.85 +    COMPONENT(CYCLE_COLLECTOR_LOGGER, nsCycleCollectorLoggerConstructor)
    1.86 +    COMPONENT(MESSAGE_LOOP, nsMessageLoopConstructor)
    1.87 +    COMPONENT(STATUS_REPORTER_MANAGER, nsStatusReporterManagerConstructor)

mercurial