1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef org_freedesktop_PackageKit_XModify_idl
11 #define org_freedesktop_PackageKit_XModify_idl
13 #include
<com
/sun
/star
/uno
/XInterface.idl
>
22 * The interface used for modifying the package database.
25 * https://git.gnome.org/browse/gnome-software/tree/src/org.freedesktop.PackageKit.xml
26 * for documentation of the corresponding D-Bus interface
28 interface XModify
: com
::sun
::star
::uno
::XInterface
31 * Installs local package sequence< string > files or service packs.
32 * @since LibreOffice 4.0
35 void InstallPackageFiles
( [in] unsigned long xid
, [in] sequence
< string > files
, [in] string interaction
);
38 * Installs sequence< string > packages to provide sequence< string > files.
39 * @since LibreOffice 4.0
42 void InstallProvideFiles
( [in] unsigned long xid
, [in] sequence
< string > files
, [in] string interaction
);
45 * Installs sequence< string > packages to provide sequence< string > files.
46 * @since LibreOffice 4.0
49 void InstallCatalogs
( [in] unsigned long xid
, [in] sequence
< string > files
, [in] string interaction
);
52 * Installs sequence< string > packages from a configured software source.
53 * @since LibreOffice 4.0
56 void InstallPackageNames
( [in] unsigned long xid
, [in] sequence
< string > packages
, [in] string interaction
);
59 * Installs mimetype handlers from a configured software source.
60 * @since LibreOffice 4.0
63 void InstallMimeTypes
( [in] unsigned long xid
, [in] sequence
< string > mimeTypes
, [in] string interaction
);
66 * Installs fontconfig resources ( [in] usually fonts) from a configured software source.
67 * @since LibreOffice 4.0
70 void InstallFontconfigResources
( [in] unsigned long xid
, [in] sequence
< string > resources
, [in] string interaction
);
73 * Installs GStreamer resources ( [in] usually codecs) from a configured software source.
74 * @since LibreOffice 4.0
77 void InstallGStreamerResources
( [in] unsigned long xid
, [in] sequence
< string > resources
, [in] string interaction
);
80 * Installs resources of a given type from a configured software source.
81 * @since LibreOffice 4.0
84 void InstallResources
( [in] unsigned long xid
, [in] sequence
< string > types
, [in] sequence
< string > resources
, [in] string interaction
);
87 * Removes sequence< string > packages that provide the given local sequence< string > files.
88 * @since LibreOffice 4.0
91 void RemovePackageByFiles
( [in] unsigned long xid
, [in] sequence
< string > files
, [in] string interaction
);
94 * Installs printer drivers from a configured software source.
95 * @since LibreOffice 4.0
98 void InstallPrinterDrivers
( [in] unsigned long xid
, [in] sequence
< string > files
, [in] string interaction
);
108 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */