Easyhack: Add visibility markup to all component_get* functions
This commit is contained in:
parent
d248ff75bb
commit
cdc7c5772a
15 changed files with 29 additions and 30 deletions
|
@ -527,13 +527,13 @@ const ::cppu::ImplementationEntry s_entries [] = {
|
|||
|
||||
extern "C" {
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
void * SAL_CALL component_getFactory(
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
sal_Char const * pImplName,
|
||||
lang::XMultiServiceFactory * pServiceManager,
|
||||
registry::XRegistryKey * pRegistryKey )
|
||||
|
|
|
@ -391,8 +391,7 @@ namespace comphelper
|
|||
//= implementing the API of a component library (component_*)
|
||||
|
||||
#define IMPLEMENT_COMPONENT_LIBRARY_API( module_class, initializer_function ) \
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL \
|
||||
component_getImplementationEnvironment( \
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( \
|
||||
const sal_Char **ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) \
|
||||
{ \
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; \
|
||||
|
|
|
@ -94,7 +94,7 @@ extern "C"
|
|||
// component_getImplementationEnvironment
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -105,7 +105,7 @@ void SAL_CALL component_getImplementationEnvironment(
|
|||
// returns a factory to create XFilePicker-Services
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
{
|
||||
void* pRet = 0;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ extern "C"
|
|||
|
||||
//==================================================================================================
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,
|
||||
uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -54,7 +54,7 @@ void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvType
|
|||
|
||||
//==================================================================================================
|
||||
|
||||
void * SAL_CALL component_getFactory(
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName,
|
||||
void * pServiceManager,
|
||||
void * /*pRegistryKey*/
|
||||
|
|
|
@ -92,7 +92,7 @@ extern "C"
|
|||
// component_getImplementationEnvironment
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -103,7 +103,7 @@ void SAL_CALL component_getImplementationEnvironment(
|
|||
// returns a factory to create XFilePicker-Services
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
{
|
||||
void* pRet = 0;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
|||
// component_getImplementationEnvironment
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -78,7 +78,7 @@ void SAL_CALL component_getImplementationEnvironment(
|
|||
// returns a factory to create XFilePicker-Services
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
{
|
||||
void* pRet = 0;
|
||||
Reference< XSingleServiceFactory > xFactory;
|
||||
|
|
|
@ -95,7 +95,7 @@ extern "C"
|
|||
// component_getImplementationEnvironment
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -106,7 +106,7 @@ void SAL_CALL component_getImplementationEnvironment(
|
|||
// returns a factory to create XFilePicker-Services
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
|
||||
{
|
||||
void* pRet = 0;
|
||||
|
||||
|
|
|
@ -576,12 +576,12 @@ static const struct InstancesArray {
|
|||
extern "C"
|
||||
{
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* sImplementationName, void* _pServiceManager, void* /*_pRegistryKey*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* sImplementationName, void* _pServiceManager, void* /*_pRegistryKey*/ )
|
||||
{
|
||||
void* pRet = NULL;
|
||||
|
||||
|
|
|
@ -982,13 +982,13 @@ SAL_CALL TextSearch_CreateInstance(
|
|||
extern "C"
|
||||
{
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* sImplementationName,
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* sImplementationName,
|
||||
void* _pServiceManager, void* /*_pRegistryKey*/ )
|
||||
{
|
||||
void* pRet = NULL;
|
||||
|
|
|
@ -1029,13 +1029,13 @@ using namespace sax_expatwrap;
|
|||
extern "C"
|
||||
{
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
void * SAL_CALL component_getFactory(
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
|
|
@ -35,13 +35,13 @@ Reference< XInterface > SAL_CALL FastSaxSerializer_CreateInstance( const Referen
|
|||
extern "C"
|
||||
{
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
||||
|
|
|
@ -787,7 +787,7 @@ extern "C"
|
|||
{
|
||||
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -830,7 +830,7 @@ sal_Bool SAL_CALL component_writeInfo(
|
|||
return sal_False;
|
||||
}
|
||||
|
||||
void * SAL_CALL component_getFactory(
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
|
|
@ -222,14 +222,14 @@ static ::cppu::ImplementationEntry const lRegEntries[] =
|
|||
};
|
||||
|
||||
//=============================================================================
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(const char** pEnvTypeName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const char** pEnvTypeName,
|
||||
uno_Environment** )
|
||||
{
|
||||
*pEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
extern "C" void * SAL_CALL component_getFactory(const char* sImplName ,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const char* sImplName ,
|
||||
void* pServiceManager,
|
||||
void* pRegistryKey )
|
||||
{
|
||||
|
|
|
@ -81,7 +81,7 @@ sal_Bool writeInfo( void * pRegistryKey,
|
|||
}
|
||||
|
||||
//=========================================================================
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -104,7 +104,7 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(
|
|||
}
|
||||
|
||||
//=========================================================================
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
|
|
@ -54,13 +54,13 @@ Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceF
|
|||
extern "C"
|
||||
{
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* pRegistryKey )
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* pRegistryKey )
|
||||
{
|
||||
void* pRet = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue