factreg.cxx (3716f815) factreg.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

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

23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_io.hxx"
26
27#include <osl/diagnose.h>
28#include <cppuhelper/factory.hxx>
29#include <cppuhelper/implementationentry.hxx>
30
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

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

23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_io.hxx"
26
27#include <osl/diagnose.h>
28#include <cppuhelper/factory.hxx>
29#include <cppuhelper/implementationentry.hxx>
30
31#include "io/dllapi.h"
32
31#include <com/sun/star/registry/XRegistryKey.hpp>
32
33using namespace ::rtl;
34using namespace ::cppu;
35using namespace ::com::sun::star::uno;
36using namespace ::com::sun::star::lang;
37using namespace ::com::sun::star::registry;
38

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

89 },
90 { 0, 0, 0, 0, 0, 0 }
91
92};
93
94extern "C"
95{
96
33#include <com/sun/star/registry/XRegistryKey.hpp>
34
35using namespace ::rtl;
36using namespace ::cppu;
37using namespace ::com::sun::star::uno;
38using namespace ::com::sun::star::lang;
39using namespace ::com::sun::star::registry;
40

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

91 },
92 { 0, 0, 0, 0, 0, 0 }
93
94};
95
96extern "C"
97{
98
97sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
99IO_DLLPUBLIC sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
98{
99 return g_moduleCount.canUnload( &g_moduleCount , pTime );
100}
101
102//==================================================================================================
100{
101 return g_moduleCount.canUnload( &g_moduleCount , pTime );
102}
103
104//==================================================================================================
103void SAL_CALL component_getImplementationEnvironment(
105IO_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment(
104 const sal_Char ** ppEnvTypeName, uno_Environment ** )
105{
106 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
107}
108//==================================================================================================
106 const sal_Char ** ppEnvTypeName, uno_Environment ** )
107{
108 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
109}
110//==================================================================================================
109void * SAL_CALL component_getFactory(
111IO_DLLPUBLIC void * SAL_CALL component_getFactory(
110 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
111{
112 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
113}
114
115}
112 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
113{
114 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
115}
116
117}