Files
sousa-gecko/xpcom/components/GenericFactory.cpp
T
2026-03-16 17:22:07 +00:00

17 lines
447 B
C++

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/GenericFactory.h"
namespace mozilla {
NS_IMPL_ISUPPORTS(GenericFactory, nsIFactory)
NS_IMETHODIMP
GenericFactory::CreateInstance(REFNSIID aIID, void** aResult) {
return mCtor(aIID, aResult);
}
} // namespace mozilla