soundhandler.cxx (80f267b3) soundhandler.cxx (deb7b1c2)
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

--- 474 unchanged lines hidden (view full) ---

483}
484
485} // namespace framework
486
487// ------------------------------------------
488// - component_getImplementationEnvironment -
489// ------------------------------------------
490
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

--- 474 unchanged lines hidden (view full) ---

483}
484
485} // namespace framework
486
487// ------------------------------------------
488// - component_getImplementationEnvironment -
489// ------------------------------------------
490
491extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
491extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
492{
493 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
494}
495
496// ------------------------
497// - component_getFactory -
498// ------------------------
499
492{
493 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
494}
495
496// ------------------------
497// - component_getFactory -
498// ------------------------
499
500extern "C" void* SAL_CALL component_getFactory(const sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/ )
500extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/ )
501{
502 void* pReturn = NULL;
503 if (pServiceManager != NULL )
504 {
505 /* Define variables which are used in following macros. */
506 css::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory;
507 css::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager;
508 xServiceManager = reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ;

--- 13 unchanged lines hidden ---
501{
502 void* pReturn = NULL;
503 if (pServiceManager != NULL )
504 {
505 /* Define variables which are used in following macros. */
506 css::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory;
507 css::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager;
508 xServiceManager = reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ;

--- 13 unchanged lines hidden ---