Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / connectivity / source / drivers / mork / MServices.cxx
blob07395e63f54c99aeede1001abfe0daeb67509b96
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 "MDriver.hxx"
18 namespace {
20 static cppu::ImplementationEntry const services[] = {
21 { &connectivity::mork::create,
22 &connectivity::mork::MorkDriver::getImplementationName_Static,
23 &connectivity::mork::MorkDriver::getSupportedServiceNames_Static,
24 &cppu::createSingleComponentFactory, 0, 0 },
25 { 0, 0, 0, 0, 0, 0 }
30 extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL mork_component_getFactory(
31 char const * pImplName, void * pServiceManager, void * pRegistryKey)
33 return cppu::component_getFactoryHelper(
34 pImplName, pServiceManager, pRegistryKey, services);
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */