Brownian hacking to fix build bustage.

This commit is contained in:
waterson%netscape.com 2000-07-22 03:17:55 +00:00
parent 357d16ef7d
commit f364059419
2 changed files with 70 additions and 0 deletions

View File

@ -103,6 +103,19 @@ public:
PRUint32 postHeadersLength = 0,
const char* postHeaders = NULL);
NS_IMETHOD
RegisterPlugin(REFNSIID aCID,
const char* aPluginName,
const char* aDescription,
const char** aMimeTypes,
const char** aMimeDescriptions,
const char** aFileExtensions,
PRInt32 aCount);
NS_IMETHOD
UnregisterPlugin(REFNSIID aCID);
/**
* RegisterService may be called explicitly to register a service
* with the service manager. If a service is not registered explicitly,
@ -1163,6 +1176,28 @@ CPluginManager::PostURL(nsISupports* pluginInst,
return fromNPError[err];
}
NS_IMETHODIMP
CPluginManager::RegisterPlugin(REFNSIID aCID,
const char* aPluginName,
const char* aDescription,
const char** aMimeTypes,
const char** aMimeDescriptions,
const char** aFileExtensions,
PRInt32 aCount)
{
// XXXwaterson I don't think we need to do anything here.
return NS_OK;
}
NS_IMETHODIMP
CPluginManager::UnregisterPlugin(REFNSIID aCID)
{
// XXXwaterson I don't think we need to do anything here.
return NS_OK;
}
NS_METHOD
CPluginManager::GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,

View File

@ -103,6 +103,19 @@ public:
PRUint32 postHeadersLength = 0,
const char* postHeaders = NULL);
NS_IMETHOD
RegisterPlugin(REFNSIID aCID,
const char* aPluginName,
const char* aDescription,
const char** aMimeTypes,
const char** aMimeDescriptions,
const char** aFileExtensions,
PRInt32 aCount);
NS_IMETHOD
UnregisterPlugin(REFNSIID aCID);
/**
* RegisterService may be called explicitly to register a service
* with the service manager. If a service is not registered explicitly,
@ -1163,6 +1176,28 @@ CPluginManager::PostURL(nsISupports* pluginInst,
return fromNPError[err];
}
NS_IMETHODIMP
CPluginManager::RegisterPlugin(REFNSIID aCID,
const char* aPluginName,
const char* aDescription,
const char** aMimeTypes,
const char** aMimeDescriptions,
const char** aFileExtensions,
PRInt32 aCount)
{
// XXXwaterson I don't think we need to do anything here.
return NS_OK;
}
NS_IMETHODIMP
CPluginManager::UnregisterPlugin(REFNSIID aCID)
{
// XXXwaterson I don't think we need to do anything here.
return NS_OK;
}
NS_METHOD
CPluginManager::GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,