зеркало из https://github.com/mozilla/pjs.git
Stub in the new RegisterFactory API in preparation for removing the old one.
This commit is contained in:
Родитель
44544524a9
Коммит
59f91f50e9
|
@ -860,6 +860,17 @@ nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
||||
const char *aClassName,
|
||||
const char *aProgID,
|
||||
nsIFactory *aFactory,
|
||||
PRBool aReplace)
|
||||
{
|
||||
return (RegisterFactory(aClass, aFactory, aReplace));
|
||||
}
|
||||
|
||||
|
||||
nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
||||
const char *aLibrary,
|
||||
PRBool aReplace,
|
||||
|
|
|
@ -170,6 +170,13 @@ public:
|
|||
nsIFactory *aFactory,
|
||||
PRBool aReplace);
|
||||
|
||||
// Manually registry a factory for a class
|
||||
static nsresult RegisterFactory(const nsCID &aClass,
|
||||
const char *aClassName,
|
||||
const char *aProgID,
|
||||
nsIFactory *aFactory,
|
||||
PRBool aReplace);
|
||||
|
||||
// Manually registry a dynamically loaded factory for a class
|
||||
static nsresult RegisterFactory(const nsCID &aClass,
|
||||
const char *aLibrary,
|
||||
|
|
|
@ -170,6 +170,13 @@ public:
|
|||
nsIFactory *aFactory,
|
||||
PRBool aReplace);
|
||||
|
||||
// Manually registry a factory for a class
|
||||
static nsresult RegisterFactory(const nsCID &aClass,
|
||||
const char *aClassName,
|
||||
const char *aProgID,
|
||||
nsIFactory *aFactory,
|
||||
PRBool aReplace);
|
||||
|
||||
// Manually registry a dynamically loaded factory for a class
|
||||
static nsresult RegisterFactory(const nsCID &aClass,
|
||||
const char *aLibrary,
|
||||
|
|
|
@ -860,6 +860,17 @@ nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
||||
const char *aClassName,
|
||||
const char *aProgID,
|
||||
nsIFactory *aFactory,
|
||||
PRBool aReplace)
|
||||
{
|
||||
return (RegisterFactory(aClass, aFactory, aReplace));
|
||||
}
|
||||
|
||||
|
||||
nsresult nsRepository::RegisterFactory(const nsCID &aClass,
|
||||
const char *aLibrary,
|
||||
PRBool aReplace,
|
||||
|
|
Загрузка…
Ссылка в новой задаче