tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / deployment / XPackageInformationProvider.idl
blob5029a9f63cf02a44abedb38a016ee8125b23c56f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com { module sun { module star { module deployment {
22 /** Objects implementing this interface provide a URL to the root of
23 an installed package.
25 @since OOo 2.3
27 interface XPackageInformationProvider
29 /** get Package information for a specific extension.
31 @param extensionId
32 the unique identifier of an extension. The service looks for
33 an installed package with the given id and returns the URL to
34 the root of the package. If the service can not find a matching
35 package, an empty string will be returned.
37 string getPackageLocation( [in] string extensionId );
39 /** check if there are updates available for an extension.
41 @param extensionId
42 the unique identifier of an extension. When the extensionId is empty,
43 the service looks checks all installed extensions for a newer version,
44 otherwise the service looks for updates for an installed package with
45 the given id.
46 If the service finds an update for an extension, a sequence containing the name
47 and the version will be returned for each extension which has an update.
48 If the service can not find a matching package, an empty sequence is returned.
50 sequence< sequence< string > > isUpdateAvailable( [in] string extensionId );
52 /** returns a list of all installed extension with their version.
54 sequence< sequence< string > > getExtensionList();
57 }; }; }; };
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */