variable id changes + commenting CreateInstance2()

This commit is contained in:
dp%netscape.com 1999-02-09 20:29:46 +00:00
Родитель 0b7a6e4332
Коммит 657b0a8124
2 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -69,9 +69,9 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *fullpath);
#define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData" #define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData"
typedef struct NSQuickRegisterClassData { typedef struct NSQuickRegisterClassData {
const char *classIdStr; const char *CIDString; // {98765-8776-8958758759-958785}
const char *progId; const char *className; // "Layout Engine"
const char *version; const char *progID; // "Gecko.LayoutEngine.1"
} NSQuickRegisterClassData; } NSQuickRegisterClassData;
typedef NSQuickRegisterClassData* NSQuickRegisterData; typedef NSQuickRegisterClassData* NSQuickRegisterData;
@ -153,11 +153,13 @@ public:
void **aResult); void **aResult);
// Creates a class instance for a specific class ID // Creates a class instance for a specific class ID
/*
static nsresult CreateInstance2(const nsCID &aClass, static nsresult CreateInstance2(const nsCID &aClass,
nsISupports *aDelegate, nsISupports *aDelegate,
const nsIID &aIID, const nsIID &aIID,
void *aSignature, void *aSignature,
void **aResult); void **aResult);
*/
// Manually registry a factory for a class // Manually registry a factory for a class
static nsresult RegisterFactory(const nsCID &aClass, static nsresult RegisterFactory(const nsCID &aClass,

Просмотреть файл

@ -69,9 +69,9 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *fullpath);
#define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData" #define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData"
typedef struct NSQuickRegisterClassData { typedef struct NSQuickRegisterClassData {
const char *classIdStr; const char *CIDString; // {98765-8776-8958758759-958785}
const char *progId; const char *className; // "Layout Engine"
const char *version; const char *progID; // "Gecko.LayoutEngine.1"
} NSQuickRegisterClassData; } NSQuickRegisterClassData;
typedef NSQuickRegisterClassData* NSQuickRegisterData; typedef NSQuickRegisterClassData* NSQuickRegisterData;
@ -153,11 +153,13 @@ public:
void **aResult); void **aResult);
// Creates a class instance for a specific class ID // Creates a class instance for a specific class ID
/*
static nsresult CreateInstance2(const nsCID &aClass, static nsresult CreateInstance2(const nsCID &aClass,
nsISupports *aDelegate, nsISupports *aDelegate,
const nsIID &aIID, const nsIID &aIID,
void *aSignature, void *aSignature,
void **aResult); void **aResult);
*/
// Manually registry a factory for a class // Manually registry a factory for a class
static nsresult RegisterFactory(const nsCID &aClass, static nsresult RegisterFactory(const nsCID &aClass,