LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XPackageManager.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 #ifndef _com_sun_star_deployment_XPackageManager_idl
21 #define _com_sun_star_deployment_XPackageManager_idl
22 
33 
34 
35 module com { module sun { module star { module deployment {
36 
66 interface XPackageManager
67 {
71 
76 
83  string getContext();
84 
90  sequence<XPackageTypeInfo> getSupportedPackageTypes();
91 
97  com::sun::star::task::XAbortChannel createAbortChannel();
98 
120  XPackage addPackage( [in] string url,
121  [in] sequence<com::sun::star::beans::NamedValue> properties,
122  [in] string mediaType,
123  [in] com::sun::star::task::XAbortChannel xAbortChannel,
125  raises (DeploymentException,
129 
146  XPackage importExtension( [in] XPackage extension,
147  [in] com::sun::star::task::XAbortChannel xAbortChannel,
149  raises (DeploymentException,
153 
166  void removePackage( [in] string identifier,
167  [in] string fileName,
168  [in] com::sun::star::task::XAbortChannel xAbortChannel,
170  raises (DeploymentException,
174 
186  XPackage getDeployedPackage(
187  [in] string identifier,
188  [in] string fileName,
190  raises (DeploymentException,
193 
204  sequence<XPackage> getDeployedPackages(
205  [in] com::sun::star::task::XAbortChannel xAbortChannel,
207  raises (DeploymentException,
211 
227  void reinstallDeployedPackages(
228  [in] boolean force,
229  [in] com::sun::star::task::XAbortChannel xAbortChannel,
231  raises (DeploymentException,
235 
249  boolean isReadOnly();
250 
266  boolean synchronize([in] com::sun::star::task::XAbortChannel xAbortChannel,
268  raises (DeploymentException,
272 
273 
286  sequence<XPackage> getExtensionsWithUnacceptedLicenses(
288  raises (DeploymentException);
289 
298  long checkPrerequisites(
299  [in] XPackage extension,
300  [in] com::sun::star::task::XAbortChannel xAbortChannel,
302  raises (DeploymentException,
306 
307 };
308 
309 }; }; }; };
310 
311 #endif
312 
313 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */