eventattacher.cxx (2694e834) | eventattacher.cxx (0b5197c8) |
---|---|
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 --- 818 unchanged lines hidden (view full) --- 827 } 828} 829 830} 831 832extern "C" 833{ 834//================================================================================================== | 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 --- 818 unchanged lines hidden (view full) --- 827 } 828} 829 830} 831 832extern "C" 833{ 834//================================================================================================== |
835void SAL_CALL component_getImplementationEnvironment( | 835SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( |
836 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 837{ 838 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 839} 840//================================================================================================== | 836 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 837{ 838 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 839} 840//================================================================================================== |
841void * SAL_CALL component_getFactory( | 841SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( |
842 const sal_Char * pImplName, void * pServiceManager, void * ) 843{ 844 void * pRet = 0; 845 846 if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0) 847 { 848 Reference< XSingleServiceFactory > xFactory( createOneInstanceFactory( 849 reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), --- 17 unchanged lines hidden --- | 842 const sal_Char * pImplName, void * pServiceManager, void * ) 843{ 844 void * pRet = 0; 845 846 if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0) 847 { 848 Reference< XSingleServiceFactory > xFactory( createOneInstanceFactory( 849 reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), --- 17 unchanged lines hidden --- |