ftranslentry.cxx (48123e16) | ftranslentry.cxx (e8183b3f) |
---|---|
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 --- 78 unchanged lines hidden (view full) --- 87 88extern "C" 89{ 90 91//---------------------------------------------------------------------- 92// component_getImplementationEnvironment 93//---------------------------------------------------------------------- 94 | 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 --- 78 unchanged lines hidden (view full) --- 87 88extern "C" 89{ 90 91//---------------------------------------------------------------------- 92// component_getImplementationEnvironment 93//---------------------------------------------------------------------- 94 |
95void SAL_CALL component_getImplementationEnvironment( | 95SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( |
96 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) 97{ 98 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 99} 100 101//---------------------------------------------------------------------- 102// component_getFactory 103// returns a factory to create XFilePicker-Services 104//---------------------------------------------------------------------- 105 | 96 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) 97{ 98 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 99} 100 101//---------------------------------------------------------------------- 102// component_getFactory 103// returns a factory to create XFilePicker-Services 104//---------------------------------------------------------------------- 105 |
106void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ ) | 106SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ ) |
107{ 108 void* pRet = 0; 109 110 if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, IMPL_NAME ) ) ) 111 { 112 Sequence< OUString > aSNS( 1 ); 113 aSNS.getArray( )[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME ) ); 114 --- 16 unchanged lines hidden --- | 107{ 108 void* pRet = 0; 109 110 if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, IMPL_NAME ) ) ) 111 { 112 Sequence< OUString > aSNS( 1 ); 113 aSNS.getArray( )[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME ) ); 114 --- 16 unchanged lines hidden --- |