Easyhack: Add visibility markup to all component_get* functions
This commit is contained in:
@@ -135,7 +135,7 @@ CREATEINSTANCE ( StatusIndicator )
|
|||||||
// return environment
|
// return environment
|
||||||
//______________________________________________________________________________________________________________
|
//______________________________________________________________________________________________________________
|
||||||
|
|
||||||
extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvironmentTypeName ,
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvironmentTypeName ,
|
||||||
uno_Environment** /*ppEnvironment*/ )
|
uno_Environment** /*ppEnvironment*/ )
|
||||||
{
|
{
|
||||||
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
||||||
@@ -145,7 +145,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_
|
|||||||
// create right component factory
|
// create right component factory
|
||||||
//______________________________________________________________________________________________________________
|
//______________________________________________________________________________________________________________
|
||||||
|
|
||||||
extern "C" void* SAL_CALL component_getFactory( const sal_Char* pImplementationName ,
|
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName ,
|
||||||
void* pServiceManager ,
|
void* pServiceManager ,
|
||||||
void* /*pRegistryKey*/ )
|
void* /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
|
@@ -67,12 +67,12 @@ uno::Sequence< ::rtl::OUString > SAL_CALL EmbedServer_getSupportedServiceNames()
|
|||||||
|
|
||||||
extern "C" {
|
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;
|
*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;
|
void * pRet = 0;
|
||||||
|
|
||||||
|
@@ -216,13 +216,13 @@ Sequence< rtl::OUString > BibliographyLoader::getSupportedServiceNames_Static(vo
|
|||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
void * SAL_CALL component_getFactory(
|
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||||
const sal_Char * pImplName, XMultiServiceFactory * pServiceManager, void * /*pRegistryKey*/ )
|
const sal_Char * pImplName, XMultiServiceFactory * pServiceManager, void * /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
void * pRet = 0;
|
void * pRet = 0;
|
||||||
|
@@ -56,14 +56,14 @@ static const cppu::ImplementationEntry kImplementations_entries[] =
|
|||||||
} ;
|
} ;
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char **aEnvTypeName,
|
const sal_Char **aEnvTypeName,
|
||||||
uno_Environment** /*aEnvironment*/) {
|
uno_Environment** /*aEnvironment*/) {
|
||||||
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void *component_getFactory(const sal_Char *aImplementationName,
|
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char *aImplementationName,
|
||||||
void *aServiceManager,
|
void *aServiceManager,
|
||||||
void *aRegistryKey) {
|
void *aRegistryKey) {
|
||||||
return cppu::component_getFactoryHelper(aImplementationName,
|
return cppu::component_getFactoryHelper(aImplementationName,
|
||||||
|
@@ -121,7 +121,7 @@ extern "C" void * SAL_CALL component_getFactory(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
|
@@ -63,10 +63,10 @@ namespace
|
|||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
void SAL_CALL component_getImplementationEnvironment(const sal_Char** env_type_name, uno_Environment**)
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** env_type_name, uno_Environment**)
|
||||||
{ *env_type_name = CPPU_CURRENT_LANGUAGE_BINDING_NAME; }
|
{ *env_type_name = CPPU_CURRENT_LANGUAGE_BINDING_NAME; }
|
||||||
|
|
||||||
void* SAL_CALL component_getFactory(const sal_Char* pImplName, void* pServiceManager, void*)
|
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* pImplName, void* pServiceManager, void*)
|
||||||
{
|
{
|
||||||
if ( !pServiceManager || !pImplName ) return 0;
|
if ( !pServiceManager || !pImplName ) return 0;
|
||||||
|
|
||||||
|
@@ -58,14 +58,14 @@
|
|||||||
using namespace cppu;
|
using namespace cppu;
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char** ppEnvTypeName,
|
const sal_Char** ppEnvTypeName,
|
||||||
uno_Environment** /*ppEnv*/ )
|
uno_Environment** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
void* SAL_CALL component_getFactory(
|
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
|
||||||
const sal_Char* pImplementationName,
|
const sal_Char* pImplementationName,
|
||||||
void* pXUnoSMgr,
|
void* pXUnoSMgr,
|
||||||
void* /*pXUnoKey*/
|
void* /*pXUnoKey*/
|
||||||
|
@@ -54,13 +54,13 @@ namespace res
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
void * SAL_CALL component_getFactory(
|
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||||
const sal_Char * pImplName, XMultiServiceFactory * /*pServiceManager*/, void * /*pRegistryKey*/ )
|
const sal_Char * pImplName, XMultiServiceFactory * /*pServiceManager*/, void * /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
void * pRet = 0;
|
void * pRet = 0;
|
||||||
|
@@ -41,7 +41,7 @@ using namespace com::sun::star::registry;
|
|||||||
// - component_getImplementationEnvironment -
|
// - component_getImplementationEnvironment -
|
||||||
// ------------------------------------------
|
// ------------------------------------------
|
||||||
|
|
||||||
extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char*
|
|||||||
// - component_getFactory -
|
// - component_getFactory -
|
||||||
// ------------------------
|
// ------------------------
|
||||||
|
|
||||||
extern "C" void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ )
|
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
REF( ::com::sun::star::lang::XSingleServiceFactory ) xFactory;
|
REF( ::com::sun::star::lang::XSingleServiceFactory ) xFactory;
|
||||||
void* pRet = 0;
|
void* pRet = 0;
|
||||||
|
@@ -56,7 +56,7 @@ static REF( NMSP_UNO::XInterface ) SAL_CALL create_SVGPrinter( const REF( NMSP_L
|
|||||||
// - component_getImplementationEnvironment -
|
// - component_getImplementationEnvironment -
|
||||||
// ------------------------------------------
|
// ------------------------------------------
|
||||||
|
|
||||||
extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
}
|
}
|
||||||
@@ -65,7 +65,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char
|
|||||||
// - component_getFactory -
|
// - component_getFactory -
|
||||||
// ------------------------
|
// ------------------------
|
||||||
|
|
||||||
extern "C" void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ )
|
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
REF( NMSP_LANG::XSingleServiceFactory ) xFactory;
|
REF( NMSP_LANG::XSingleServiceFactory ) xFactory;
|
||||||
void* pRet = 0;
|
void* pRet = 0;
|
||||||
|
@@ -381,16 +381,14 @@ static const cppu::ImplementationEntry kImplementations_entries[] =
|
|||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void SAL_CALL
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Environment **)
|
||||||
component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Environment **)
|
|
||||||
{
|
{
|
||||||
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void *
|
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
|
||||||
component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
|
|
||||||
{
|
{
|
||||||
return cppu::component_getFactoryHelper(
|
return cppu::component_getFactoryHelper(
|
||||||
pszImplementationName,
|
pszImplementationName,
|
||||||
|
@@ -844,16 +844,14 @@ static const cppu::ImplementationEntry kImplementations_entries[] =
|
|||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void SAL_CALL
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Environment **)
|
||||||
component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Environment **)
|
|
||||||
{
|
{
|
||||||
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void *
|
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
|
||||||
component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
|
|
||||||
{
|
{
|
||||||
return cppu::component_getFactoryHelper(
|
return cppu::component_getFactoryHelper(
|
||||||
pszImplementationName,
|
pszImplementationName,
|
||||||
|
@@ -1044,16 +1044,14 @@ static const cppu::ImplementationEntry kImplementations_entries[] =
|
|||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void SAL_CALL
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Environment **)
|
||||||
component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Environment **)
|
|
||||||
{
|
{
|
||||||
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
*aEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
extern "C" void *
|
extern "C" SAL_DLLPUBLIC_EXPORT void * component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
|
||||||
component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
|
|
||||||
{
|
{
|
||||||
return cppu::component_getFactoryHelper(
|
return cppu::component_getFactoryHelper(
|
||||||
pszImplementationName,
|
pszImplementationName,
|
||||||
|
@@ -47,13 +47,13 @@ static REF( NMSP_UNO::XInterface ) SAL_CALL create_XMLExtractor( const REF( NMSP
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
//==================================================================================================
|
//==================================================================================================
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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*/ )
|
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
void * pRet = 0;
|
void * pRet = 0;
|
||||||
|
@@ -369,7 +369,7 @@ extern "C" sal_Bool SAL_CALL component_writeInfo( void * /*pServiceManager*/,
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
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*/ )
|
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
static void * pRet= NULL;
|
static void * pRet= NULL;
|
||||||
@@ -395,7 +395,7 @@ extern "C" void * SAL_CALL component_getFactory(
|
|||||||
return pRet;
|
return pRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
|
@@ -55,13 +55,13 @@ extern void * SAL_CALL Hyphenator_getFactory(
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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 )
|
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||||
{
|
{
|
||||||
void * pRet = Hyphenator_getFactory(
|
void * pRet = Hyphenator_getFactory(
|
||||||
|
@@ -422,13 +422,13 @@ static struct ::cppu::ImplementationEntry s_component_entries [] =
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
sal_Char const ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
sal_Char const ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
void * SAL_CALL component_getFactory(
|
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||||
sal_Char const * implName, lang::XMultiServiceFactory * xMgr,
|
sal_Char const * implName, lang::XMultiServiceFactory * xMgr,
|
||||||
registry::XRegistryKey * xRegistry )
|
registry::XRegistryKey * xRegistry )
|
||||||
{
|
{
|
||||||
|
@@ -54,13 +54,13 @@ extern void * SAL_CALL MacSpellChecker_getFactory(
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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 )
|
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||||
{
|
{
|
||||||
void * pRet = NULL;
|
void * pRet = NULL;
|
||||||
|
@@ -52,13 +52,13 @@ extern void * SAL_CALL SpellChecker_getFactory(
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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 )
|
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||||
{
|
{
|
||||||
void * pRet = NULL;
|
void * pRet = NULL;
|
||||||
|
@@ -54,13 +54,13 @@ extern void * SAL_CALL Thesaurus_getFactory(
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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 )
|
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||||
{
|
{
|
||||||
void * pRet = Thesaurus_getFactory(
|
void * pRet = Thesaurus_getFactory(
|
||||||
|
@@ -41,12 +41,12 @@ using namespace ::com::sun::star;
|
|||||||
|
|
||||||
extern "C" {
|
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;
|
*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;
|
void * pRet = 0;
|
||||||
|
|
||||||
|
@@ -42,12 +42,12 @@ using namespace ::com::sun::star;
|
|||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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;
|
void* pRet = 0;
|
||||||
uno::Reference< XInterface > xFactory;
|
uno::Reference< XInterface > xFactory;
|
||||||
|
@@ -53,14 +53,14 @@ using namespace ::com::sun::star::registry;
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
//==================================================================================================
|
//==================================================================================================
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment **)
|
const sal_Char ** ppEnvTypeName, uno_Environment **)
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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*/ )
|
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||||
{
|
{
|
||||||
void * pRet = 0;
|
void * pRet = 0;
|
||||||
|
@@ -102,13 +102,13 @@ extern void* nss_component_getFactory( const sal_Char*, void*, void* );
|
|||||||
extern void* mscrypt_component_getFactory( const sal_Char*, void*, void* );
|
extern void* mscrypt_component_getFactory( const sal_Char*, void*, void* );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void SAL_CALL component_getImplementationEnvironment(
|
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||||
const sal_Char ** ppEnvTypeName, uno_Environment **)
|
const sal_Char ** ppEnvTypeName, uno_Environment **)
|
||||||
{
|
{
|
||||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
*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;
|
void* pRet = 0;
|
||||||
Reference< XInterface > xFactory ;
|
Reference< XInterface > xFactory ;
|
||||||
|
Reference in New Issue
Block a user