TextInputStream.cxx (f90c092a) TextInputStream.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

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

39
40#include <rtl/textenc.h>
41#include <rtl/tencinfo.h>
42
43#include <com/sun/star/io/XTextInputStream.hpp>
44#include <com/sun/star/io/XActiveDataSink.hpp>
45#include <com/sun/star/lang/XServiceInfo.hpp>
46
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

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

39
40#include <rtl/textenc.h>
41#include <rtl/tencinfo.h>
42
43#include <com/sun/star/io/XTextInputStream.hpp>
44#include <com/sun/star/io/XActiveDataSink.hpp>
45#include <com/sun/star/lang/XServiceInfo.hpp>
46
47#include "io/dllapi.h"
48
47
49
50#define IMPLEMENTATION_NAME "com.sun.star.comp.io.TextInputStream"
51#define SERVICE_NAME "com.sun.star.io.TextInputStream"
52
53using namespace ::osl;
54using namespace ::rtl;
55using namespace ::cppu;
56using namespace ::com::sun::star::uno;
57using namespace ::com::sun::star::lang;

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

502 TextInputStream_getSupportedServiceNames, createSingleComponentFactory ,
503 &g_moduleCount.modCnt , 0
504 },
505 { 0, 0, 0, 0, 0, 0 }
506};
507
508extern "C"
509{
48#define IMPLEMENTATION_NAME "com.sun.star.comp.io.TextInputStream"
49#define SERVICE_NAME "com.sun.star.io.TextInputStream"
50
51using namespace ::osl;
52using namespace ::rtl;
53using namespace ::cppu;
54using namespace ::com::sun::star::uno;
55using namespace ::com::sun::star::lang;

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

500 TextInputStream_getSupportedServiceNames, createSingleComponentFactory ,
501 &g_moduleCount.modCnt , 0
502 },
503 { 0, 0, 0, 0, 0, 0 }
504};
505
506extern "C"
507{
510IO_DLLPUBLIC sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
508SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
511{
512 return g_moduleCount.canUnload( &g_moduleCount , pTime );
513}
514
515//==================================================================================================
509{
510 return g_moduleCount.canUnload( &g_moduleCount , pTime );
511}
512
513//==================================================================================================
516IO_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment(
514SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
517 const sal_Char ** ppEnvTypeName, uno_Environment ** )
518{
519 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
520}
521//==================================================================================================
515 const sal_Char ** ppEnvTypeName, uno_Environment ** )
516{
517 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
518}
519//==================================================================================================
522IO_DLLPUBLIC void * SAL_CALL component_getFactory(
520SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
523 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
524{
525 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
526}
527}
528
529
521 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
522{
523 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
524}
525}
526
527