FPentry.cxx (b557fc96) FPentry.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

--- 76 unchanged lines hidden (view full) ---

85
86extern "C"
87{
88
89//------------------------------------------------
90// component_getImplementationEnvironment
91//------------------------------------------------
92
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

--- 76 unchanged lines hidden (view full) ---

85
86extern "C"
87{
88
89//------------------------------------------------
90// component_getImplementationEnvironment
91//------------------------------------------------
92
93void SAL_CALL component_getImplementationEnvironment(
93SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
94 const sal_Char ** ppEnvTypeName, uno_Environment ** )
95{
96 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
97}
98
99//------------------------------------------------
100//
101//------------------------------------------------
102
94 const sal_Char ** ppEnvTypeName, uno_Environment ** )
95{
96 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
97}
98
99//------------------------------------------------
100//
101//------------------------------------------------
102
103void* SAL_CALL component_getFactory(
103SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
104 const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* )
105{
106 void* pRet = 0;
107
108 if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, FILE_PICKER_IMPL_NAME ) ) )
109 {
110 Sequence< OUString > aSNS( 1 );
111 aSNS.getArray( )[0] = OUString::createFromAscii( FILE_PICKER_SERVICE_NAME );

--- 17 unchanged lines hidden ---
104 const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* )
105{
106 void* pRet = 0;
107
108 if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, FILE_PICKER_IMPL_NAME ) ) )
109 {
110 Sequence< OUString > aSNS( 1 );
111 aSNS.getArray( )[0] = OUString::createFromAscii( FILE_PICKER_SERVICE_NAME );

--- 17 unchanged lines hidden ---