registercontrols.cxx (b4abecfe) | registercontrols.cxx (9d72048c) |
---|---|
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 --- 140 unchanged lines hidden (view full) --- 149CREATEINSTANCE ( ProgressMonitor ) 150CREATEINSTANCE ( StatusIndicator ) 151//============================================================================= 152 153//______________________________________________________________________________________________________________ 154// return environment 155//______________________________________________________________________________________________________________ 156 | 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 --- 140 unchanged lines hidden (view full) --- 149CREATEINSTANCE ( ProgressMonitor ) 150CREATEINSTANCE ( StatusIndicator ) 151//============================================================================= 152 153//______________________________________________________________________________________________________________ 154// return environment 155//______________________________________________________________________________________________________________ 156 |
157extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvironmentTypeName , | 157extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvironmentTypeName , |
158 uno_Environment** /*ppEnvironment*/ ) 159{ 160 *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; 161} 162 163//______________________________________________________________________________________________________________ 164// create right component factory 165//______________________________________________________________________________________________________________ 166 | 158 uno_Environment** /*ppEnvironment*/ ) 159{ 160 *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; 161} 162 163//______________________________________________________________________________________________________________ 164// create right component factory 165//______________________________________________________________________________________________________________ 166 |
167extern "C" void* SAL_CALL component_getFactory( const sal_Char* pImplementationName , | 167extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName , |
168 void* pServiceManager , 169 void* /*pRegistryKey*/ ) 170{ 171 AS_DBG_OUT( "component_getFactory():\t[start]\n" ) 172 173 // Set default return value for this operation - if it failed. 174 void* pReturn = NULL ; 175 --- 43 unchanged lines hidden --- | 168 void* pServiceManager , 169 void* /*pRegistryKey*/ ) 170{ 171 AS_DBG_OUT( "component_getFactory():\t[start]\n" ) 172 173 // Set default return value for this operation - if it failed. 174 void* pReturn = NULL ; 175 --- 43 unchanged lines hidden --- |