acceptor.cxx (f90c092a) | acceptor.cxx (032611ff) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32#include <cppuhelper/implementationentry.hxx> 33#include "cppuhelper/unourl.hxx" 34#include "rtl/malformeduriexception.hxx" 35 36#include <com/sun/star/connection/XAcceptor.hpp> 37#include <com/sun/star/lang/XServiceInfo.hpp> 38 39#include "acceptor.hxx" | 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 --- 23 unchanged lines hidden (view full) --- 32#include <cppuhelper/implementationentry.hxx> 33#include "cppuhelper/unourl.hxx" 34#include "rtl/malformeduriexception.hxx" 35 36#include <com/sun/star/connection/XAcceptor.hpp> 37#include <com/sun/star/lang/XServiceInfo.hpp> 38 39#include "acceptor.hxx" |
40#include "io/dllapi.h" | |
41 42#define IMPLEMENTATION_NAME "com.sun.star.comp.io.Acceptor" 43#define SERVICE_NAME "com.sun.star.connection.Acceptor" 44 45using namespace ::osl; 46using namespace ::rtl; 47using namespace ::cppu; 48using namespace ::com::sun::star::uno; --- 297 unchanged lines hidden (view full) --- 346 &g_moduleCount.modCnt , 0 347 }, 348 { 0, 0, 0, 0, 0, 0 } 349}; 350 351extern "C" 352{ 353 | 40 41#define IMPLEMENTATION_NAME "com.sun.star.comp.io.Acceptor" 42#define SERVICE_NAME "com.sun.star.connection.Acceptor" 43 44using namespace ::osl; 45using namespace ::rtl; 46using namespace ::cppu; 47using namespace ::com::sun::star::uno; --- 297 unchanged lines hidden (view full) --- 345 &g_moduleCount.modCnt , 0 346 }, 347 { 0, 0, 0, 0, 0, 0 } 348}; 349 350extern "C" 351{ 352 |
354IO_DLLPUBLIC sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) | 353SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) |
355{ 356 return g_moduleCount.canUnload( &g_moduleCount , pTime ); 357} 358 359//================================================================================================== | 354{ 355 return g_moduleCount.canUnload( &g_moduleCount , pTime ); 356} 357 358//================================================================================================== |
360IO_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment( | 359SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( |
361 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 362{ 363 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 364} 365//================================================================================================== | 360 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 361{ 362 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 363} 364//================================================================================================== |
366IO_DLLPUBLIC void * SAL_CALL component_getFactory( | 365SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( |
367 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) 368{ 369 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); 370} 371} 372 373 374 | 366 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) 367{ 368 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); 369} 370} 371 372 373 |