nsDataModule.cpp (618B)
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 #include "nsIGenericFactory.h" 7 #include "nsDataHandler.h" 8 9 // The list of components we register 10 static const nsModuleComponentInfo components[] = { 11 {"Data Protocol Handler", NS_DATAHANDLER_CID, 12 NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "data", nsDataHandler::Create}, 13 }; 14 15 NS_IMPL_NSGETMODULE(nsDataProtocolModule, components)