TextOutputStream.cxx (f90c092a) | TextOutputStream.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 --- 24 unchanged lines hidden (view full) --- 33#include <cppuhelper/factory.hxx> 34#include <cppuhelper/implbase3.hxx> 35#include <cppuhelper/implementationentry.hxx> 36 37#include <rtl/textenc.h> 38#include <rtl/tencinfo.h> 39#include <rtl/unload.h> 40 | 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 --- 24 unchanged lines hidden (view full) --- 33#include <cppuhelper/factory.hxx> 34#include <cppuhelper/implbase3.hxx> 35#include <cppuhelper/implementationentry.hxx> 36 37#include <rtl/textenc.h> 38#include <rtl/tencinfo.h> 39#include <rtl/unload.h> 40 |
41#include "io/dllapi.h" 42 | |
43#include <com/sun/star/io/XTextOutputStream.hpp> 44#include <com/sun/star/io/XActiveDataSource.hpp> 45#include <com/sun/star/lang/XServiceInfo.hpp> 46 47 48#define IMPLEMENTATION_NAME "com.sun.star.comp.io.TextOutputStream" 49#define SERVICE_NAME "com.sun.star.io.TextOutputStream" 50 --- 264 unchanged lines hidden (view full) --- 315 TextOutputStream_getSupportedServiceNames, createSingleComponentFactory , 316 &g_moduleCount.modCnt , 0 317 }, 318 { 0, 0, 0, 0, 0, 0 } 319}; 320 321extern "C" 322{ | 41#include <com/sun/star/io/XTextOutputStream.hpp> 42#include <com/sun/star/io/XActiveDataSource.hpp> 43#include <com/sun/star/lang/XServiceInfo.hpp> 44 45 46#define IMPLEMENTATION_NAME "com.sun.star.comp.io.TextOutputStream" 47#define SERVICE_NAME "com.sun.star.io.TextOutputStream" 48 --- 264 unchanged lines hidden (view full) --- 313 TextOutputStream_getSupportedServiceNames, createSingleComponentFactory , 314 &g_moduleCount.modCnt , 0 315 }, 316 { 0, 0, 0, 0, 0, 0 } 317}; 318 319extern "C" 320{ |
323IO_DLLPUBLIC sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) | 321SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) |
324{ 325 return g_moduleCount.canUnload( &g_moduleCount , pTime ); 326} 327 328//================================================================================================== | 322{ 323 return g_moduleCount.canUnload( &g_moduleCount , pTime ); 324} 325 326//================================================================================================== |
329IO_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment( | 327SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( |
330 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 331{ 332 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 333} 334//================================================================================================== | 328 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 329{ 330 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 331} 332//================================================================================================== |
335IO_DLLPUBLIC void * SAL_CALL component_getFactory( | 333SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( |
336 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) 337{ 338 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); 339} 340} 341 342 | 334 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) 335{ 336 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); 337} 338} 339 340 |