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/.
10 #include "sal/config.h"
12 #include "cppuhelper/factory.hxx"
13 #include "cppuhelper/implementationentry.hxx"
14 #include "sal/types.h"
16 #include "filterdetect.hxx"
20 static cppu::ImplementationEntry
const services
[] = {
21 { &PlainTextFilterDetect_createInstance
, &PlainTextFilterDetect_getImplementationName
,
22 &PlainTextFilterDetect_getSupportedServiceNames
,
23 &cppu::createSingleComponentFactory
, 0, 0 },
29 extern "C" SAL_DLLPUBLIC_EXPORT
void * SAL_CALL
textfd_component_getFactory(
30 char const * pImplName
, void * pServiceManager
, void * pRegistryKey
)
32 return cppu::component_getFactoryHelper(
33 pImplName
, pServiceManager
, pRegistryKey
, services
);
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */