tvfactory.cxx (89dcb3da) | tvfactory.cxx (e4ed64de) |
---|---|
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 --- 238 unchanged lines hidden (view full) --- 247TVFactory::CreateInstance( 248 const Reference< XMultiServiceFactory >& xMultiServiceFactory ) 249{ 250 XServiceInfo* xP = (XServiceInfo*) new TVFactory( xMultiServiceFactory ); 251 return Reference< XInterface >::query( xP ); 252} 253 254//========================================================================= | 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 --- 238 unchanged lines hidden (view full) --- 247TVFactory::CreateInstance( 248 const Reference< XMultiServiceFactory >& xMultiServiceFactory ) 249{ 250 XServiceInfo* xP = (XServiceInfo*) new TVFactory( xMultiServiceFactory ); 251 return Reference< XInterface >::query( xP ); 252} 253 254//========================================================================= |
255extern "C" void SAL_CALL component_getImplementationEnvironment( | 255extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( |
256 const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) 257{ 258 (void)ppEnv; 259 260 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 261} 262 263//========================================================================= | 256 const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) 257{ 258 (void)ppEnv; 259 260 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 261} 262 263//========================================================================= |
264extern "C" void * SAL_CALL component_getFactory( | 264extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( |
265 const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey ) 266{ 267 (void)pRegistryKey; 268 269 void * pRet = 0; 270 271 Reference< XMultiServiceFactory > xSMgr( 272 reinterpret_cast< XMultiServiceFactory * >( pServiceManager ) ); --- 22 unchanged lines hidden --- | 265 const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey ) 266{ 267 (void)pRegistryKey; 268 269 void * pRet = 0; 270 271 Reference< XMultiServiceFactory > xSMgr( 272 reinterpret_cast< XMultiServiceFactory * >( pServiceManager ) ); --- 22 unchanged lines hidden --- |