Fopentry.cxx (b557fc96) | Fopentry.cxx (8d854f23) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 63 unchanged lines hidden (view full) --- 72 73extern "C" 74{ 75 76//---------------------------------------------------------------------- 77// component_getImplementationEnvironment 78//---------------------------------------------------------------------- 79 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 63 unchanged lines hidden (view full) --- 72 73extern "C" 74{ 75 76//---------------------------------------------------------------------- 77// component_getImplementationEnvironment 78//---------------------------------------------------------------------- 79 |
80void SAL_CALL component_getImplementationEnvironment( | 80SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( |
81 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 82{ 83 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 84} 85 86//---------------------------------------------------------------------- 87// component_getFactory 88// returns a factory to create XFilePicker-Services 89//---------------------------------------------------------------------- 90 | 81 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 82{ 83 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 84} 85 86//---------------------------------------------------------------------- 87// component_getFactory 88// returns a factory to create XFilePicker-Services 89//---------------------------------------------------------------------- 90 |
91void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* ) | 91SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* ) |
92{ 93 void* pRet = 0; 94 95 if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, FOLDER_PICKER_IMPL_NAME ) ) ) 96 { 97 Sequence< OUString > aSNS( 1 ); 98 aSNS.getArray( )[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( FOLDER_PICKER_SERVICE_NAME ) ); 99 --- 16 unchanged lines hidden --- | 92{ 93 void* pRet = 0; 94 95 if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, FOLDER_PICKER_IMPL_NAME ) ) ) 96 { 97 Sequence< OUString > aSNS( 1 ); 98 aSNS.getArray( )[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( FOLDER_PICKER_SERVICE_NAME ) ); 99 --- 16 unchanged lines hidden --- |