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