2001-09-28 20:14:13 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
2000-07-22 01:34:13 +00:00
|
|
|
|
2010-06-10 18:11:40 +00:00
|
|
|
#include "mozilla/ModuleUtils.h"
|
2009-07-02 05:48:08 +00:00
|
|
|
#include "nsPluginHost.h"
|
2009-06-25 21:06:54 +00:00
|
|
|
#include "nsPluginsCID.h"
|
2000-07-22 01:34:13 +00:00
|
|
|
|
2009-07-02 05:48:08 +00:00
|
|
|
NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsPluginHost, nsPluginHost::GetInst)
|
2010-06-10 18:11:40 +00:00
|
|
|
NS_DEFINE_NAMED_CID(NS_PLUGIN_HOST_CID);
|
2005-11-06 18:34:03 +00:00
|
|
|
|
2010-06-10 18:11:40 +00:00
|
|
|
static const mozilla::Module::CIDEntry kPluginCIDs[] = {
|
2013-10-23 20:34:30 +00:00
|
|
|
{ &kNS_PLUGIN_HOST_CID, false, nullptr, nsPluginHostConstructor },
|
|
|
|
{ nullptr }
|
2000-07-22 01:34:13 +00:00
|
|
|
};
|
|
|
|
|
2010-06-10 18:11:40 +00:00
|
|
|
static const mozilla::Module::ContractIDEntry kPluginContracts[] = {
|
|
|
|
{ MOZ_PLUGIN_HOST_CONTRACTID, &kNS_PLUGIN_HOST_CID },
|
2013-10-23 20:34:30 +00:00
|
|
|
{ nullptr }
|
2010-06-10 18:11:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static const mozilla::Module kPluginModule = {
|
|
|
|
mozilla::Module::kVersion,
|
|
|
|
kPluginCIDs,
|
|
|
|
kPluginContracts
|
|
|
|
};
|
|
|
|
|
|
|
|
NSMODULE_DEFN(nsPluginModule) = &kPluginModule;
|