diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-09 12:24:47 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-09 12:24:47 +0000 |
commit | 870263bd78168f38cba7c857e95fe0ed88b8cd39 (patch) | |
tree | f633e0e4eee683c9a85a7cab9522417d20fef27c /cppuhelper | |
parent | d384fe3c39769fbd929b67c865e6e634dbad3d0d (diff) |
INTEGRATION: CWS bunoexttm (1.10.4); FILE MERGED
2007/01/30 14:16:39 kr 1.10.4.1: joined UTF2 - COMPONENT_GETENVEXT
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/inc/cppuhelper/factory.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/cppuhelper/inc/cppuhelper/factory.hxx b/cppuhelper/inc/cppuhelper/factory.hxx index 8cf0408985cf..bd19d69ca7ae 100644 --- a/cppuhelper/inc/cppuhelper/factory.hxx +++ b/cppuhelper/inc/cppuhelper/factory.hxx @@ -4,9 +4,9 @@ * * $RCSfile: factory.hxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2006-12-01 17:17:59 $ + * last change: $Author: kz $ $Date: 2007-05-09 13:24:47 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -56,6 +56,7 @@ //################################################################################################## #define COMPONENT_GETENV "component_getImplementationEnvironment" +#define COMPONENT_GETENVEXT "component_getImplementationEnvironmentExt" #define COMPONENT_GETDESCRIPTION "component_getDescription" #define COMPONENT_WRITEINFO "component_writeInfo" #define COMPONENT_GETFACTORY "component_getFactory" @@ -75,6 +76,23 @@ typedef void (SAL_CALL * component_getImplementationEnvironmentFunc)( const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ); /** Function pointer declaration. + Function determines the environment of the component implementation, i.e. the compiler. + If the environment is NOT session specific (needs no additional context), + then this function should return the environment type name and leave ppEnv (to 0). + + @param ppEnvTypeName environment type name; string must be a constant + @param ppEnv function returns an environment if the environment is session specific, + i.e. has special context + @param pImplName +*/ +typedef void (SAL_CALL * component_getImplementationEnvironmentExtFunc)( + sal_Char const ** ppEnvTypeName, + uno_Environment ** ppEnv, + sal_Char const * pImplName, + uno_Environment * pTargetEnv +); + +/** Function pointer declaration. Function retrieves a component description. @return an XML formatted string containing a short component description |