diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-13 15:59:09 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-13 15:59:09 +0000 |
commit | 4881d0fc7eead309d9f4a22b8b035e78cb98e7e2 (patch) | |
tree | c2b8e637c986039b76c5ed2a011286e0ef7ced4c /offapi | |
parent | fb4529debdf3a61546a6d150c5489b4c0af9fb49 (diff) |
INTEGRATION: CWS jsc7 (1.7.144); FILE MERGED
2006/06/28 06:46:52 jl 1.7.144.1: #66211# support of license files in extensions
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/deployment/XPackage.idl | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/offapi/com/sun/star/deployment/XPackage.idl b/offapi/com/sun/star/deployment/XPackage.idl index b73112ad841d..ec98375eea54 100644 --- a/offapi/com/sun/star/deployment/XPackage.idl +++ b/offapi/com/sun/star/deployment/XPackage.idl @@ -4,9 +4,9 @@ * * $RCSfile: XPackage.idl,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-07 22:58:22 $ + * last change: $Author: obo $ $Date: 2006-07-13 16:59:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -66,6 +66,7 @@ interface XPackage */ interface com::sun::star::util::XModifyBroadcaster; + /** creates a command channel to be used to asynchronously abort a command. @return @@ -73,6 +74,29 @@ interface XPackage */ com::sun::star::task::XAbortChannel createAbortChannel(); + /** checks if the package can be installed. + + Only if the return value is true the package is allowed to be installed. + In case of false or in case of an exception, the package must be removed + in completely. + After return of this function no code from the extension may be used + anymore, so that the extension can be safely removed from the harddisk. + + @param xCmdEnv + command environment for error handling and other interaction. + + @return + true - the package can be installed + false - the package must not be installed. + */ + boolean checkPrerequisites( + [in] com::sun::star::task::XAbortChannel xAbortChannel, + [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv ) + raises (DeploymentException, + com::sun::star::ucb::CommandFailedException, + com::sun::star::ucb::CommandAbortedException); + + /** determines whether the package is currently is registered, i.e. whether it is active. |