зеркало из https://github.com/mozilla/pjs.git
removing unused class and reference to unused header.
This commit is contained in:
Родитель
67049603bc
Коммит
72c87b5c9a
|
@ -29,7 +29,6 @@
|
|||
|
||||
|
||||
#include "../../../js/src/xpconnect/public/xpctest.h"
|
||||
#include "idl/nsITestProxyFoo.h"
|
||||
|
||||
#include "nsProxyObjectManager.h"
|
||||
|
||||
|
@ -110,42 +109,6 @@ NS_SetupRegistry()
|
|||
}
|
||||
|
||||
|
||||
|
||||
/***************************************************************************/
|
||||
/* nsTestProxy */
|
||||
/***************************************************************************/
|
||||
class nsTestProxy : public nsITestProxyFoo
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
NS_IMETHOD Test(nsISupports *p1, nsISupports **p2);
|
||||
|
||||
nsTestProxy();
|
||||
~nsTestProxy();
|
||||
};
|
||||
|
||||
|
||||
nsTestProxy::nsTestProxy()
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
NS_ADDREF_THIS();
|
||||
}
|
||||
|
||||
nsTestProxy::~nsTestProxy()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsTestProxy,NS_ITESTPROXYFOO_IID)
|
||||
|
||||
NS_IMETHODIMP nsTestProxy::Test(nsISupports *p1, nsISupports **p2)
|
||||
{
|
||||
*p2 = this;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***************************************************************************/
|
||||
/* nsTestXPCFoo */
|
||||
/***************************************************************************/
|
||||
|
|
Загрузка…
Ссылка в новой задаче