2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04: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-01-04 02:27:20 +03:00
|
|
|
|
1999-09-30 05:53:31 +04:00
|
|
|
#include "nsIModule.h"
|
|
|
|
#include "nsIGenericFactory.h"
|
|
|
|
#include "nsDataHandler.h"
|
|
|
|
|
|
|
|
// The list of components we register
|
2002-01-31 00:14:20 +03:00
|
|
|
static const nsModuleComponentInfo components[] = {
|
2000-01-04 02:27:20 +03:00
|
|
|
{ "Data Protocol Handler",
|
|
|
|
NS_DATAHANDLER_CID,
|
2000-09-14 03:57:52 +04:00
|
|
|
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "data",
|
2000-01-04 02:27:20 +03:00
|
|
|
nsDataHandler::Create},
|
1999-09-30 05:53:31 +04:00
|
|
|
};
|
|
|
|
|
2001-05-05 09:33:37 +04:00
|
|
|
NS_IMPL_NSGETMODULE(nsDataProtocolModule, components)
|
1999-09-30 05:53:31 +04:00
|
|
|
|
|
|
|
|
|
|
|
|