TextOutputStream.cxx (fa267792) | TextOutputStream.cxx (f90c092a) |
---|---|
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 |
|
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{ | 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{ |
321sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) | 323IO_DLLPUBLIC sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) |
322{ 323 return g_moduleCount.canUnload( &g_moduleCount , pTime ); 324} 325 326//================================================================================================== | 324{ 325 return g_moduleCount.canUnload( &g_moduleCount , pTime ); 326} 327 328//================================================================================================== |
327void SAL_CALL component_getImplementationEnvironment( | 329IO_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment( |
328 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 329{ 330 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 331} 332//================================================================================================== | 330 const sal_Char ** ppEnvTypeName, uno_Environment ** ) 331{ 332 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; 333} 334//================================================================================================== |
333void * SAL_CALL component_getFactory( | 335IO_DLLPUBLIC void * SAL_CALL component_getFactory( |
334 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) 335{ 336 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); 337} 338} 339 340 | 336 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) 337{ 338 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); 339} 340} 341 342 |