FPentry.cxx (b557fc96) FPentry.cxx (8d854f23)
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

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

80
81extern "C"
82{
83
84//------------------------------------------------
85// component_getImplementationEnvironment
86//------------------------------------------------
87
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

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

80
81extern "C"
82{
83
84//------------------------------------------------
85// component_getImplementationEnvironment
86//------------------------------------------------
87
88void SAL_CALL component_getImplementationEnvironment(
88SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
89 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
90{
91 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
92}
93
94//------------------------------------------------
95//
96//------------------------------------------------
97
89 const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
90{
91 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
92}
93
94//------------------------------------------------
95//
96//------------------------------------------------
97
98void* SAL_CALL component_getFactory(
98SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
99 const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
100{
101 void* pRet = 0;
102
103 if( pSrvManager )
104 {
105 if (
106 /* crude gtkplug check */ !g_type_from_name( "GdkDisplay" ) ||

--- 45 unchanged lines hidden ---
99 const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ )
100{
101 void* pRet = 0;
102
103 if( pSrvManager )
104 {
105 if (
106 /* crude gtkplug check */ !g_type_from_name( "GdkDisplay" ) ||

--- 45 unchanged lines hidden ---