From 657b0a81243e3e78177cdefd0fc9dc9877455dab Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Tue, 9 Feb 1999 20:29:46 +0000 Subject: [PATCH] variable id changes + commenting CreateInstance2() --- xpcom/components/nsRepository.h | 8 +++++--- xpcom/public/nsRepository.h | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/xpcom/components/nsRepository.h b/xpcom/components/nsRepository.h index a2ba32fd18b8..9b2b70c2496a 100644 --- a/xpcom/components/nsRepository.h +++ b/xpcom/components/nsRepository.h @@ -69,9 +69,9 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *fullpath); #define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData" typedef struct NSQuickRegisterClassData { - const char *classIdStr; - const char *progId; - const char *version; + const char *CIDString; // {98765-8776-8958758759-958785} + const char *className; // "Layout Engine" + const char *progID; // "Gecko.LayoutEngine.1" } NSQuickRegisterClassData; typedef NSQuickRegisterClassData* NSQuickRegisterData; @@ -153,11 +153,13 @@ public: void **aResult); // Creates a class instance for a specific class ID + /* static nsresult CreateInstance2(const nsCID &aClass, nsISupports *aDelegate, const nsIID &aIID, void *aSignature, void **aResult); + */ // Manually registry a factory for a class static nsresult RegisterFactory(const nsCID &aClass, diff --git a/xpcom/public/nsRepository.h b/xpcom/public/nsRepository.h index a2ba32fd18b8..9b2b70c2496a 100644 --- a/xpcom/public/nsRepository.h +++ b/xpcom/public/nsRepository.h @@ -69,9 +69,9 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *fullpath); #define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData" typedef struct NSQuickRegisterClassData { - const char *classIdStr; - const char *progId; - const char *version; + const char *CIDString; // {98765-8776-8958758759-958785} + const char *className; // "Layout Engine" + const char *progID; // "Gecko.LayoutEngine.1" } NSQuickRegisterClassData; typedef NSQuickRegisterClassData* NSQuickRegisterData; @@ -153,11 +153,13 @@ public: void **aResult); // Creates a class instance for a specific class ID + /* static nsresult CreateInstance2(const nsCID &aClass, nsISupports *aDelegate, const nsIID &aIID, void *aSignature, void **aResult); + */ // Manually registry a factory for a class static nsresult RegisterFactory(const nsCID &aClass,