diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 15:47:14 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 15:47:14 +0000 |
commit | 8216582ffc3b535d08a390a851f730b135e861cf (patch) | |
tree | 3febd32ee95bc582f3b0883f600942a20de23ce5 /offapi/com/sun/star/deployment | |
parent | 20d185a13b4435b40e9e363104f47eca6115ec03 (diff) |
INTEGRATION: CWS updchk10 (1.2.84); FILE MERGED
2007/10/23 10:58:56 dv 1.2.84.2: #i82851# Support automatic checking for extension updates
2007/10/08 10:34:20 dv 1.2.84.1: added isUpdateAvailable()
Diffstat (limited to 'offapi/com/sun/star/deployment')
-rw-r--r-- | offapi/com/sun/star/deployment/XPackageInformationProvider.idl | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/offapi/com/sun/star/deployment/XPackageInformationProvider.idl b/offapi/com/sun/star/deployment/XPackageInformationProvider.idl index 8cd5f7f97f22..e2ff78248f3d 100644 --- a/offapi/com/sun/star/deployment/XPackageInformationProvider.idl +++ b/offapi/com/sun/star/deployment/XPackageInformationProvider.idl @@ -4,9 +4,9 @@ * * $RCSfile: XPackageInformationProvider.idl,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2007-06-12 06:17:45 $ + * last change: $Author: ihi $ $Date: 2007-11-19 16:47:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -55,6 +55,23 @@ interface XPackageInformationProvider package, an emty string will be returned. */ string getPackageLocation( [in] string extensionId ); + + /** check if there are updates available for an extention. + + @param extensionId + the unique identifier of an extension. When the extensionId is empty, + the service looks checks all installed extensions for a newer version, + otherwise the service looks for updates for an installed package with + the given id. + If the service finds an update for an extension, a sequence containing the name + and the version will be returned for each extension which has an update. + If the service can not find a matching package, an empty sequence is returned. + */ + sequence< sequence< string > > isUpdateAvailable( [in] string extensionId ); + + /** returns a list of all installed extention with their version. + */ + sequence< sequence< string > > getExtensionList(); }; }; }; }; }; |