1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <cppuhelper/factory.hxx>
21 #include <cppuhelper/implementationentry.hxx>
23 #include "services.hxx"
25 using namespace ::cppu
;
26 using namespace ::com::sun::star::uno
;
27 using namespace ::com::sun::star::lang
;
28 using namespace ::com::sun::star::registry
;
30 static const struct ImplementationEntry g_entries
[] =
33 io_acceptor::acceptor_CreateInstance
, io_acceptor::acceptor_getImplementationName
,
34 io_acceptor::acceptor_getSupportedServiceNames
, createSingleComponentFactory
,
38 stoc_connector::connector_CreateInstance
, stoc_connector::connector_getImplementationName
,
39 stoc_connector::connector_getSupportedServiceNames
, createSingleComponentFactory
,
43 io_stm::OPipeImpl_CreateInstance
, io_stm::OPipeImpl_getImplementationName
,
44 io_stm::OPipeImpl_getSupportedServiceNames
, createSingleComponentFactory
,
48 io_stm::OPumpImpl_CreateInstance
, io_stm::OPumpImpl_getImplementationName
,
49 io_stm::OPumpImpl_getSupportedServiceNames
, createSingleComponentFactory
,
53 io_stm::ODataInputStream_CreateInstance
, io_stm::ODataInputStream_getImplementationName
,
54 io_stm::ODataInputStream_getSupportedServiceNames
, createSingleComponentFactory
,
58 io_stm::ODataOutputStream_CreateInstance
, io_stm::ODataOutputStream_getImplementationName
,
59 io_stm::ODataOutputStream_getSupportedServiceNames
, createSingleComponentFactory
,
63 io_stm::OObjectInputStream_CreateInstance
, io_stm::OObjectInputStream_getImplementationName
,
64 io_stm::OObjectInputStream_getSupportedServiceNames
, createSingleComponentFactory
,
68 io_stm::OObjectOutputStream_CreateInstance
, io_stm::OObjectOutputStream_getImplementationName
,
69 io_stm::OObjectOutputStream_getSupportedServiceNames
, createSingleComponentFactory
,
73 io_stm::OMarkableInputStream_CreateInstance
, io_stm::OMarkableInputStream_getImplementationName
,
74 io_stm::OMarkableInputStream_getSupportedServiceNames
, createSingleComponentFactory
,
78 io_stm::OMarkableOutputStream_CreateInstance
, io_stm::OMarkableOutputStream_getImplementationName
,
79 io_stm::OMarkableOutputStream_getSupportedServiceNames
, createSingleComponentFactory
,
83 io_TextInputStream::TextInputStream_CreateInstance
, io_TextInputStream::TextInputStream_getImplementationName
,
84 io_TextInputStream::TextInputStream_getSupportedServiceNames
, createSingleComponentFactory
,
88 io_TextOutputStream::TextOutputStream_CreateInstance
, io_TextOutputStream::TextOutputStream_getImplementationName
,
89 io_TextOutputStream::TextOutputStream_getSupportedServiceNames
, createSingleComponentFactory
,
92 {nullptr, nullptr, nullptr, nullptr, nullptr, 0}
95 extern "C" SAL_DLLPUBLIC_EXPORT
void * io_component_getFactory(
96 const sal_Char
* pImplName
, void * pServiceManager
, void * pRegistryKey
)
98 return component_getFactoryHelper( pImplName
, pServiceManager
, pRegistryKey
, g_entries
);
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */