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

--- 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
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
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
99IO_DLLPUBLIC sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
97SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
100{
101 return g_moduleCount.canUnload( &g_moduleCount , pTime );
102}
103
104//==================================================================================================
98{
99 return g_moduleCount.canUnload( &g_moduleCount , pTime );
100}
101
102//==================================================================================================
105IO_DLLPUBLIC void SAL_CALL component_getImplementationEnvironment(
103SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
106 const sal_Char ** ppEnvTypeName, uno_Environment ** )
107{
108 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
109}
110//==================================================================================================
104 const sal_Char ** ppEnvTypeName, uno_Environment ** )
105{
106 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
107}
108//==================================================================================================
111IO_DLLPUBLIC void * SAL_CALL component_getFactory(
109SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
112 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
113{
114 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
115}
116
117}
110 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
111{
112 return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
113}
114
115}