1*b557fc96SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*b557fc96SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*b557fc96SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*b557fc96SAndrew Rist * distributed with this work for additional information 6*b557fc96SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*b557fc96SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*b557fc96SAndrew Rist * "License"); you may not use this file except in compliance 9*b557fc96SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*b557fc96SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*b557fc96SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*b557fc96SAndrew Rist * software distributed under the License is distributed on an 15*b557fc96SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b557fc96SAndrew Rist * KIND, either express or implied. See the License for the 17*b557fc96SAndrew Rist * specific language governing permissions and limitations 18*b557fc96SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*b557fc96SAndrew Rist *************************************************************/ 21*b557fc96SAndrew Rist 22*b557fc96SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir 25cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove 26cdf0e10cSrcweir #include "precompiled_fpicker.hxx" 27cdf0e10cSrcweir #include "sal/types.h" 28cdf0e10cSrcweir 29cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLEMENTATIONENTRY_HXX_ 30cdf0e10cSrcweir #include "cppuhelper/implementationentry.hxx" 31cdf0e10cSrcweir #endif 32cdf0e10cSrcweir 33cdf0e10cSrcweir #include "OfficeFilePicker.hxx" 34cdf0e10cSrcweir #include "OfficeFolderPicker.hxx" 35cdf0e10cSrcweir 36cdf0e10cSrcweir static cppu::ImplementationEntry g_entries[] = 37cdf0e10cSrcweir { 38cdf0e10cSrcweir { 39cdf0e10cSrcweir SvtFilePicker::impl_createInstance, 40cdf0e10cSrcweir SvtFilePicker::impl_getStaticImplementationName, 41cdf0e10cSrcweir SvtFilePicker::impl_getStaticSupportedServiceNames, 42cdf0e10cSrcweir cppu::createSingleComponentFactory, 0, 0 43cdf0e10cSrcweir }, 44cdf0e10cSrcweir { 45cdf0e10cSrcweir SvtFolderPicker::impl_createInstance, 46cdf0e10cSrcweir SvtFolderPicker::impl_getStaticImplementationName, 47cdf0e10cSrcweir SvtFolderPicker::impl_getStaticSupportedServiceNames, 48cdf0e10cSrcweir cppu::createSingleComponentFactory, 0, 0 49cdf0e10cSrcweir }, 50cdf0e10cSrcweir { 0, 0, 0, 0, 0, 0 } 51cdf0e10cSrcweir }; 52cdf0e10cSrcweir 53cdf0e10cSrcweir extern "C" 54cdf0e10cSrcweir { 55cdf0e10cSrcweir SAL_DLLPUBLIC_EXPORT void SAL_CALL 56cdf0e10cSrcweir component_getImplementationEnvironment( 57cdf0e10cSrcweir const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */) 58cdf0e10cSrcweir { 59cdf0e10cSrcweir *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 60cdf0e10cSrcweir } 61cdf0e10cSrcweir 62cdf0e10cSrcweir SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( 63cdf0e10cSrcweir const sal_Char * pImplementationName, void * pServiceManager, void * pRegistryKey) 64cdf0e10cSrcweir { 65cdf0e10cSrcweir return cppu::component_getFactoryHelper ( 66cdf0e10cSrcweir pImplementationName, pServiceManager, pRegistryKey, g_entries); 67cdf0e10cSrcweir } 68cdf0e10cSrcweir 69cdf0e10cSrcweir } // extern "C" 70