From 877e06d05dc27d910907910f0dc7bf7851646d9f Mon Sep 17 00:00:00 2001 From: Daniel Boelzle Date: Fri, 4 May 2001 13:22:18 +0000 Subject: new: XComponentContext, XCurrentContext --- udkapi/com/sun/star/uno/XCurrentContext.idl | 58 +++++++---------------------- 1 file changed, 14 insertions(+), 44 deletions(-) (limited to 'udkapi/com/sun/star/uno/XCurrentContext.idl') 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 #endif -#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ -#include -#endif - -#ifndef __com_sun_star_security_XAccessController_idl__ -#include -#endif - -#ifndef __com_sun_star_security_auth_login_XLoginContext_idl__ -#include -#endif - -#ifndef __com_sun_star_beans_XPropertySet_idl__ -#include -#endif module com { module sun { module star { module uno { -//============================================================================= +/** Task local execution context for UNO. + Arbitrary values can be retrieved from the context. -/**

WARNING: this is just a draft and may be changed!

- Thread local execution context for UNO. -

- Arbitrary values can be set and retrieved at the context. -

+ 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: - ServiceManager + /** 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: - AccessController - - @return - access controller to be used - */ - com::sun::star::security::XAccessController getAccessController(); - /** value of name: - LoginContext - - @return - login context to be used - */ - com::sun::star::security::auth::login::XLoginContext getLoginContext(); + any getValueByName( [in] string Name ); }; -//============================================================================= - }; }; }; }; #endif -- cgit