services.cxx (859212d1) services.cxx (ab743807)
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

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

38using namespace com::sun::star::registry;
39
40//============================================================================
41//
42// component_getImplementationEnvironment
43//
44//============================================================================
45
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

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

38using namespace com::sun::star::registry;
39
40//============================================================================
41//
42// component_getImplementationEnvironment
43//
44//============================================================================
45
46extern "C" void SAL_CALL
46extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL
47component_getImplementationEnvironment(sal_Char const ** pEnvTypeName,
48 uno_Environment **)
49{
50 *pEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
51}
52
53//============================================================================
54//
55// component_getFactory
56//
57//============================================================================
58
47component_getImplementationEnvironment(sal_Char const ** pEnvTypeName,
48 uno_Environment **)
49{
50 *pEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
51}
52
53//============================================================================
54//
55// component_getFactory
56//
57//============================================================================
58
59extern "C" void * SAL_CALL component_getFactory(sal_Char const * pImplName,
59extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL
60component_getFactory(sal_Char const * pImplName,
60 void * pServiceManager,
61 void *)
62{
63 if (!pImplName)
64 return 0;
65
66 void * pRet = 0;
67

--- 59 unchanged lines hidden ---
61 void * pServiceManager,
62 void *)
63{
64 if (!pImplName)
65 return 0;
66
67 void * pRet = 0;
68

--- 59 unchanged lines hidden ---