FileAccess.cxx (07a3d7f1) | FileAccess.cxx (3616bdb9) |
---|---|
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 --- 10 unchanged lines hidden (view full) --- 19 * 20 *************************************************************/ 21 22 23 24#include <osl/mutex.hxx> 25#include <osl/diagnose.h> 26 | 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 --- 10 unchanged lines hidden (view full) --- 19 * 20 *************************************************************/ 21 22 23 24#include <osl/mutex.hxx> 25#include <osl/diagnose.h> 26 |
27#include "fileaccess/dllapi.h" 28 |
|
27#include <uno/mapping.hxx> 28 29#include <cppuhelper/factory.hxx> 30#include <cppuhelper/implbase1.hxx> 31 32#include <tools/ref.hxx> 33#include <tools/urlobj.hxx> 34#include <ucbhelper/content.hxx> --- 864 unchanged lines hidden (view full) --- 899} 900 901//================================================================================================== 902// Component exports 903 904extern "C" 905{ 906//================================================================================================== | 29#include <uno/mapping.hxx> 30 31#include <cppuhelper/factory.hxx> 32#include <cppuhelper/implbase1.hxx> 33 34#include <tools/ref.hxx> 35#include <tools/urlobj.hxx> 36#include <ucbhelper/content.hxx> --- 864 unchanged lines hidden (view full) --- 901} 902 903//================================================================================================== 904// Component exports 905 906extern "C" 907{ 908//================================================================================================== |
907void SAL_CALL component_getImplementationEnvironment( | 909FILEACCESS_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment( |
908 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) 909{ 910 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 911} 912//================================================================================================== | 910 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) 911{ 912 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 913} 914//================================================================================================== |
913void * SAL_CALL component_getFactory( | 915FILEACCESS_DLLPUBLIC void * SAL_CALL component_getFactory( |
914 const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) 915{ 916 void * pRet = 0; 917 918 if (pServiceManager && rtl_str_compare( pImplName, IMPLEMENTATION_NAME ) == 0) 919 { 920 Reference< XSingleServiceFactory > xFactory( cppu::createSingleFactory( 921 reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), --- 16 unchanged lines hidden --- | 916 const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) 917{ 918 void * pRet = 0; 919 920 if (pServiceManager && rtl_str_compare( pImplName, IMPLEMENTATION_NAME ) == 0) 921 { 922 Reference< XSingleServiceFactory > xFactory( cppu::createSingleFactory( 923 reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), --- 16 unchanged lines hidden --- |