Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : */
9 :
10 : #include <sal/config.h>
11 :
12 : #include <cppuhelper/factory.hxx>
13 : #include <cppuhelper/implementationentry.hxx>
14 : #include <sal/types.h>
15 :
16 : #include "filterdetect.hxx"
17 :
18 : namespace {
19 :
20 : static cppu::ImplementationEntry const services[] = {
21 : { &StorageFilterDetect_createInstance, &StorageFilterDetect_getImplementationName,
22 : &StorageFilterDetect_getSupportedServiceNames,
23 : &cppu::createSingleComponentFactory, 0, 0 },
24 : { 0, 0, 0, 0, 0, 0 }
25 : };
26 :
27 : }
28 :
29 80 : extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL storagefd_component_getFactory(
30 : char const * pImplName, void * pServiceManager, void * pRegistryKey)
31 : {
32 : return cppu::component_getFactoryHelper(
33 80 : pImplName, pServiceManager, pRegistryKey, services);
34 : }
35 :
36 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|