Easyhack: Add visibility markup to all component_get* functions
This commit is contained in:
parent
c776e24f16
commit
08d3fdffae
@ -510,7 +510,7 @@ css::uno::Reference< css::uno::XInterface > Service::createInstance(
|
||||
return static_cast< cppu::OWeakObject * >(new Service(context));
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
if (envTypeName != 0) {
|
||||
@ -518,7 +518,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(char const * implName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(char const * implName,
|
||||
void * serviceManager, void *) {
|
||||
void * p = 0;
|
||||
if (serviceManager != 0) {
|
||||
|
@ -162,13 +162,13 @@ css::uno::Reference< css::uno::XInterface > Service::createInstance(
|
||||
return static_cast< cppu::OWeakObject * >(new Service(rContext));
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
sal_Char const ** pEnvTypeName, uno_Environment **)
|
||||
{
|
||||
*pEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(sal_Char const * pImplName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(sal_Char const * pImplName,
|
||||
void * pServiceManager, void *)
|
||||
{
|
||||
void * pFactory = 0;
|
||||
|
@ -163,14 +163,14 @@ cppu::ImplementationEntry entries[] = {
|
||||
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
char const * implName, void * serviceManager, void * registryKey)
|
||||
{
|
||||
return cppu::component_getFactoryHelper(
|
||||
implName, serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -127,14 +127,14 @@ cppu::ImplementationEntry entries[] = {
|
||||
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
char const * implName, void * serviceManager, void * registryKey)
|
||||
{
|
||||
return cppu::component_getFactoryHelper(
|
||||
implName, serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -416,18 +416,18 @@ cppu::ImplementationEntry entries[] = {
|
||||
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
char const * implName, void * serviceManager, void * registryKey)
|
||||
{
|
||||
return cppu::component_getFactoryHelper(
|
||||
implName, serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -227,7 +227,7 @@ static struct ImplementationEntry g_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;
|
||||
@ -240,7 +240,7 @@ sal_Bool SAL_CALL component_writeInfo(
|
||||
pServiceManager, pRegistryKey, g_entries );
|
||||
}
|
||||
//==================================================================================================
|
||||
void * SAL_CALL component_getFactory(
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||
{
|
||||
return component_getFactoryHelper(
|
||||
|
@ -516,13 +516,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -314,13 +314,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -361,13 +361,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -273,13 +273,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -105,13 +105,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -47,7 +47,7 @@ using namespace ::com::sun::star::lang;
|
||||
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;
|
||||
@ -128,7 +128,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;
|
||||
|
@ -224,13 +224,13 @@ extern "C"
|
||||
{
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -278,7 +278,7 @@ using namespace remotebridges_officeclient;
|
||||
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;
|
||||
@ -310,7 +310,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;
|
||||
|
@ -235,13 +235,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -136,7 +136,7 @@ static Reference<XInterface> SAL_CALL test4_createInstance(const Reference<XMult
|
||||
|
||||
// Standard UNO library interface -------------------------------------------------
|
||||
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;
|
||||
}
|
||||
|
||||
@ -178,7 +178,7 @@ extern "C" {
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw()
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw()
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
||||
|
@ -126,7 +126,7 @@ static Reference<XInterface> SAL_CALL test23_createInstance(const Reference<XMul
|
||||
|
||||
// Standard UNO library interface -------------------------------------------------
|
||||
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;
|
||||
}
|
||||
|
||||
@ -163,7 +163,7 @@ extern "C" {
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw()
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey) throw()
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
||||
|
@ -126,13 +126,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -500,13 +500,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -3045,13 +3045,13 @@ Reference< XInterface > SAL_CALL ImplIntrospection_CreateInstance( const Referen
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 * )
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
@ -1241,13 +1241,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -1010,14 +1010,14 @@ sal_Bool SAL_CALL component_canUnload(
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper(
|
||||
|
@ -467,13 +467,13 @@ extern "C"
|
||||
// NOTE: component_canUnload is not exported, as the library cannot be unloaded.
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -609,14 +609,13 @@ private:
|
||||
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL
|
||||
component_getImplementationEnvironment(sal_Char const ** pEnvTypeName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(sal_Char const ** pEnvTypeName,
|
||||
uno_Environment **)
|
||||
{
|
||||
*pEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(sal_Char const * pImplName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(sal_Char const * pImplName,
|
||||
void * pServiceManager,
|
||||
void * pRegistryKey)
|
||||
{
|
||||
|
@ -232,13 +232,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -521,13 +521,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue * pTime )
|
||||
return g_moduleCount.canUnload( &g_moduleCount, pTime );
|
||||
}
|
||||
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper(
|
||||
|
@ -96,13 +96,13 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
void SAL_CALL component_getImplementationEnvironment(
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*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 )
|
||||
{
|
||||
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
|
||||
|
@ -155,7 +155,7 @@ Reference<XInterface> SAL_CALL ExampleComponent1_CreateInstance( const Reference
|
||||
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;
|
||||
@ -189,7 +189,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;
|
||||
|
@ -226,7 +226,7 @@ Reference<XInterface> SAL_CALL ExampleComponent2_CreateInstance( const Reference
|
||||
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;
|
||||
@ -260,7 +260,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;
|
||||
|
@ -882,7 +882,7 @@ css::uno::Reference< css::uno::XInterface > Service::createInstance(
|
||||
return static_cast< cppu::OWeakObject * >(new Service(context));
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
if (envTypeName != 0) {
|
||||
@ -890,7 +890,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(char const * implName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(char const * implName,
|
||||
void * serviceManager, void *) {
|
||||
void * p = 0;
|
||||
if (serviceManager != 0) {
|
||||
|
@ -313,7 +313,7 @@ css::uno::Reference< css::uno::XInterface > Service::createInstance(
|
||||
return static_cast< cppu::OWeakObject * >(new Service(context));
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
if (envTypeName != 0) {
|
||||
@ -321,7 +321,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(char const * implName,
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(char const * implName,
|
||||
void * serviceManager, void *) {
|
||||
void * p = 0;
|
||||
if (serviceManager != 0) {
|
||||
|
@ -292,7 +292,7 @@ extern "C" void SAL_CALL test_ServiceManager()
|
||||
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;
|
||||
@ -325,7 +325,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;
|
||||
|
@ -259,14 +259,14 @@ extern "C" ::sal_Bool SAL_CALL component_writeInfo(
|
||||
serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
char const * implName, void * serviceManager, void * registryKey)
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper(
|
||||
implName, serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, ::uno_Environment **)
|
||||
{
|
||||
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -111,14 +111,14 @@ extern "C" ::sal_Bool SAL_CALL component_writeInfo(
|
||||
serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
char const * implName, void * serviceManager, void * registryKey)
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper(
|
||||
implName, serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, ::uno_Environment **)
|
||||
{
|
||||
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
@ -111,14 +111,14 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(
|
||||
serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void * SAL_CALL component_getFactory(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
char const * implName, void * serviceManager, void * registryKey)
|
||||
{
|
||||
return cppu::component_getFactoryHelper(
|
||||
implName, serviceManager, registryKey, entries);
|
||||
}
|
||||
|
||||
extern "C" void SAL_CALL component_getImplementationEnvironment(
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
char const ** envTypeName, uno_Environment **)
|
||||
{
|
||||
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
|
Loading…
x
Reference in New Issue
Block a user