connector.cxx (3716f815) connector.cxx (032611ff)
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

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

257 &g_moduleCount.modCnt , 0
258 },
259 { 0, 0, 0, 0, 0, 0 }
260};
261
262extern "C"
263{
264
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

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

257 &g_moduleCount.modCnt , 0
258 },
259 { 0, 0, 0, 0, 0, 0 }
260};
261
262extern "C"
263{
264
265sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
265SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
266{
267 return g_moduleCount.canUnload( &g_moduleCount , pTime );
268}
269
270//==================================================================================================
266{
267 return g_moduleCount.canUnload( &g_moduleCount , pTime );
268}
269
270//==================================================================================================
271void SAL_CALL component_getImplementationEnvironment(
271SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
272 const sal_Char ** ppEnvTypeName, uno_Environment ** )
273{
274 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
275}
276//==================================================================================================
272 const sal_Char ** ppEnvTypeName, uno_Environment ** )
273{
274 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
275}
276//==================================================================================================
277void * SAL_CALL component_getFactory(
277SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
278 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
279{
280 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
281}
282
283}
284
285
278 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
279{
280 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
281}
282
283}
284
285