Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / connectivity / source / drivers / mork / services.cxx
blob150b21d63a8c920d34659d5a893e22ba2fbd63cd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #include "sal/config.h"
12 #include "cppuhelper/factory.hxx"
13 #include "cppuhelper/implementationentry.hxx"
14 #include "sal/types.h"
16 #include "MorkDriver.hxx"
18 namespace
21 static cppu::ImplementationEntry const services[] =
24 &connectivity::mork::create, &connectivity::mork::getImplementationName,
25 &connectivity::mork::getSupportedServiceNames,
26 &cppu::createSingleComponentFactory, 0, 0
28 { 0, 0, 0, 0, 0, 0 }
33 extern "C" SAL_DLLPUBLIC_EXPORT void *SAL_CALL mork_component_getFactory(
34 char const *pImplName, void *pServiceManager, void *pRegistryKey)
36 return cppu::component_getFactoryHelper(
37 pImplName, pServiceManager, pRegistryKey, services);
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */