1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
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,
34 ************************************************************************/
37 // MARKER(update_precomp.py): autogen include statement, do not remove
38 #include "precompiled_fpicker.hxx"
41 #include "sal/types.h"
44 #ifndef _CPPUHELPER_IMPLEMENTATIONENTRY_HXX_
45 #include "cppuhelper/implementationentry.hxx"
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
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
);