Moved nsPropertiesFactory constructor from .h to .cpp file

git-svn-id: svn://10.0.0.236/trunk@19871 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
erik%netscape.com 1999-02-05 21:06:07 +00:00
parent 61b2630cc5
commit 6c9f7e2e5a
4 changed files with 24 additions and 4 deletions

View File

@ -247,6 +247,15 @@ nsProperties::SkipLine(PRInt32 c)
return c;
}
nsPropertiesFactory::nsPropertiesFactory()
{
NS_INIT_REFCNT();
}
nsPropertiesFactory::~nsPropertiesFactory()
{
}
NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
NS_IMPL_ISUPPORTS(nsPropertiesFactory, kIFactoryIID);

View File

@ -24,9 +24,10 @@
class nsPropertiesFactory : nsIFactory
{
public:
NS_DECL_ISUPPORTS
nsPropertiesFactory();
virtual ~nsPropertiesFactory();
nsPropertiesFactory() { NS_INIT_REFCNT(); }
NS_DECL_ISUPPORTS
NS_IMETHOD CreateInstance(nsISupports* aOuter, REFNSIID aIID,
void** aResult);

View File

@ -247,6 +247,15 @@ nsProperties::SkipLine(PRInt32 c)
return c;
}
nsPropertiesFactory::nsPropertiesFactory()
{
NS_INIT_REFCNT();
}
nsPropertiesFactory::~nsPropertiesFactory()
{
}
NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
NS_IMPL_ISUPPORTS(nsPropertiesFactory, kIFactoryIID);

View File

@ -24,9 +24,10 @@
class nsPropertiesFactory : nsIFactory
{
public:
NS_DECL_ISUPPORTS
nsPropertiesFactory();
virtual ~nsPropertiesFactory();
nsPropertiesFactory() { NS_INIT_REFCNT(); }
NS_DECL_ISUPPORTS
NS_IMETHOD CreateInstance(nsISupports* aOuter, REFNSIID aIID,
void** aResult);