Update ooo320-m1
[ooovba.git] / fpicker / source / odma / fps_odma.cxx
blobd18fd0ebd7490d9cf8750374385661165a3a3b46
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile$
7 * $Revision: 12010 $
9 * last change: $Author: tml $ $Date: 2008-03-26 02:30:23 +0200 (on, 26 mar 2008) $
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 * MA 02111-1307 USA
34 ************************************************************************/
37 // MARKER(update_precomp.py): autogen include statement, do not remove
38 #include "precompiled_fpicker.hxx"
40 #ifndef _SAL_TYPES_H_
41 #include "sal/types.h"
42 #endif
44 #ifndef _CPPUHELPER_IMPLEMENTATIONENTRY_HXX_
45 #include "cppuhelper/implementationentry.hxx"
46 #endif
48 #include "ODMAFilePicker.hxx"
49 #include "ODMAFolderPicker.hxx"
51 static cppu::ImplementationEntry g_entries[] =
54 ODMAFilePicker::impl_createInstance,
55 ODMAFilePicker::impl_getStaticImplementationName,
56 ODMAFilePicker::impl_getStaticSupportedServiceNames,
57 cppu::createSingleComponentFactory, 0, 0
60 ODMAFolderPicker::impl_createInstance,
61 ODMAFolderPicker::impl_getStaticImplementationName,
62 ODMAFolderPicker::impl_getStaticSupportedServiceNames,
63 cppu::createSingleComponentFactory, 0, 0
65 { 0, 0, 0, 0, 0, 0 }
68 extern "C"
70 SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment (
71 const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */)
73 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
76 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo (
77 void * pServiceManager, void * pRegistryKey)
79 return cppu::component_writeInfoHelper (
80 pServiceManager, pRegistryKey, g_entries);
83 SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory (
84 const sal_Char * pImplementationName, void * pServiceManager, void * pRegistryKey)
86 return cppu::component_getFactoryHelper (
87 pImplementationName, pServiceManager, pRegistryKey, g_entries);
90 } // extern "C"