factreg.cxx (9f4ab948) factreg.cxx (2016fac5)
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

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

64 IMPLEMENTATION_ENTRY( COMMAND ),
65 IMPLEMENTATION_ENTRY( TargetPropertiesCreator ),
66 { 0, 0, 0, 0, 0, 0 }
67};
68
69extern "C"
70{
71
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

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

64 IMPLEMENTATION_ENTRY( COMMAND ),
65 IMPLEMENTATION_ENTRY( TargetPropertiesCreator ),
66 { 0, 0, 0, 0, 0, 0 }
67};
68
69extern "C"
70{
71
72sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
72SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
73{
74 return g_moduleCount.canUnload( &g_moduleCount , pTime );
75}
76
77//==================================================================================================
73{
74 return g_moduleCount.canUnload( &g_moduleCount , pTime );
75}
76
77//==================================================================================================
78void SAL_CALL component_getImplementationEnvironment(
78SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
79 const sal_Char ** ppEnvTypeName, uno_Environment ** )
80{
81 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
82}
83//==================================================================================================
79 const sal_Char ** ppEnvTypeName, uno_Environment ** )
80{
81 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
82}
83//==================================================================================================
84void * SAL_CALL component_getFactory(
84SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
85 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
86{
87 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
88}
89
90}
85 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
86{
87 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
88}
89
90}