diff options
Diffstat (limited to 'udkapi/com/sun/star/uno/XCurrentContext.idl')
-rw-r--r-- | udkapi/com/sun/star/uno/XCurrentContext.idl | 58 |
1 files changed, 14 insertions, 44 deletions
diff --git a/udkapi/com/sun/star/uno/XCurrentContext.idl b/udkapi/com/sun/star/uno/XCurrentContext.idl index 59c0b86b27c7..ea231195fae1 100644 --- a/udkapi/com/sun/star/uno/XCurrentContext.idl +++ b/udkapi/com/sun/star/uno/XCurrentContext.idl @@ -2,9 +2,9 @@ * * $RCSfile: XCurrentContext.idl,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jsc $ $Date: 2001-03-16 15:10:43 $ + * last change: $Author: dbo $ $Date: 2001-05-04 14:22:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,59 +65,29 @@ #include <com/sun/star/uno/XInterface.idl> #endif -#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ -#include <com/sun/star/lang/XMultiServiceFactory.idl> -#endif - -#ifndef __com_sun_star_security_XAccessController_idl__ -#include <com/sun/star/security/XAccessController.idl> -#endif - -#ifndef __com_sun_star_security_auth_login_XLoginContext_idl__ -#include <com/sun/star/security/auth/login/XLoginContext.idl> -#endif - -#ifndef __com_sun_star_beans_XPropertySet_idl__ -#include <com/sun/star/beans/XPropertySet.idl> -#endif module com { module sun { module star { module uno { -//============================================================================= +/** Task local execution context for UNO. + Arbitrary values can be retrieved from the context. -/** <p><b>WARNING: this is just a draft and may be changed!</b></p> - Thread local execution context for UNO. - <p> - Arbitrary values can be set and retrieved at the context. - </p> + Use UNO runtime functions to obtain the current context in your language. */ -interface XCurrentContext : com::sun::star::beans::XPropertySet +interface XCurrentContext : XInterface { - /** value of name: - <type scope="com::sun::star::lang">ServiceManager</type> + /** Gets a value from the context. + You should carefully use the obtained value, because the current context + (value container) lives only for the running task (i.e. often the + executing thread) only! + @param Name + name of value @return - service manager to be used + value */ - com::sun::star::lang::XMultiServiceFactory getServiceManager(); - /** value of name: - <type scope="com::sun::star::security">AccessController</type> - - @return - access controller to be used - */ - com::sun::star::security::XAccessController getAccessController(); - /** value of name: - <type scope="com::sun::star::security::auth::login">LoginContext</type> - - @return - login context to be used - */ - com::sun::star::security::auth::login::XLoginContext getLoginContext(); + any getValueByName( [in] string Name ); }; -//============================================================================= - }; }; }; }; #endif |