diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-06 11:08:42 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-06 11:08:42 +0000 |
commit | 77e5e0e2438bbceeb89b0a4e9c1205f045b72b22 (patch) | |
tree | 2c1d2840e55de08f366d0ec4c00e3499f05b004a /offapi | |
parent | dbddb238893abc824dd006546327536e11d328d6 (diff) |
INTEGRATION: CWS c09tosrc (1.8.90); FILE MERGED
2007/06/25 07:29:19 jl 1.8.90.1: #i78688# new method isReadOnly
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/deployment/XPackageManager.idl | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/offapi/com/sun/star/deployment/XPackageManager.idl b/offapi/com/sun/star/deployment/XPackageManager.idl index c082abf2f2da..ce4d9a2b3a89 100644 --- a/offapi/com/sun/star/deployment/XPackageManager.idl +++ b/offapi/com/sun/star/deployment/XPackageManager.idl @@ -4,9 +4,9 @@ * * $RCSfile: XPackageManager.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: vg $ $Date: 2007-01-18 14:51:40 $ + * last change: $Author: rt $ $Date: 2007-07-06 12:08:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -204,6 +204,22 @@ interface XPackageManager com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); + + /** indicates that this implementation cannot be used for tasks + which require write access to the location where the extensions + are installed. + <p> + Normally one would call a method and handle the exception + if writing failed. However, a GUI interface may need to know beforehand + if writing is allowed. For example, the Extension Manager dialog + needs to enable / disable the Add button depending if the user has + write permission. Only the XPackageManager implementation knows the + location of the installed extensions. Therefore it is not possible + to check "externally" for write permission. + </p> + */ + boolean isReadOnly(); + }; }; }; }; }; |