summaryrefslogtreecommitdiff
path: root/offapi/org/freedesktop/PackageKit
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-09 19:10:38 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-09 19:18:34 +0100
commit8cd6a947d92a5657e4133693df5392c34bf115ca (patch)
tree5f7f89b976268aca4e4e0f69cb312de8005e271b /offapi/org/freedesktop/PackageKit
parent812052063db50b8fb432bde85fab017f5a7e8d6e (diff)
making org.freedesktop.PackageKit.Query and .Modify available
- partial implementation of the SessionInstaller interfaces - accessable via service: org.freedesktop.PackageKit.SyncDbusSessionHelper Change-Id: Ica91f481d041a066215fba3e808bf587e1271f1b
Diffstat (limited to 'offapi/org/freedesktop/PackageKit')
-rw-r--r--offapi/org/freedesktop/PackageKit/XModify.idl104
-rw-r--r--offapi/org/freedesktop/PackageKit/XQuery.idl48
-rw-r--r--offapi/org/freedesktop/PackageKit/XSyncDbusSessionHelper.idl31
3 files changed, 183 insertions, 0 deletions
diff --git a/offapi/org/freedesktop/PackageKit/XModify.idl b/offapi/org/freedesktop/PackageKit/XModify.idl
new file mode 100644
index 000000000000..79e2f79cd2a4
--- /dev/null
+++ b/offapi/org/freedesktop/PackageKit/XModify.idl
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef org_freedesktop_PackageKit_XModify_idl
+#define org_freedesktop_PackageKit_XModify_idl
+
+#include <com/sun/star/uno/XInterface.idl>
+
+module org
+{
+module freedesktop
+{
+module PackageKit
+{
+/**
+ * The interface used for modifying the package database.
+ */
+interface XModify : com::sun::star::uno::XInterface
+{
+ /**
+ * Installs local package sequence< string > files or service packs.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallPackageFiles( [in] unsigned long xid, [in] sequence< string > files, [in] string interaction);
+
+ /**
+ * Installs sequence< string > packages to provide sequence< string > files.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallProvideFiles( [in] unsigned long xid, [in] sequence< string > files, [in] string interaction);
+
+ /**
+ * Installs sequence< string > packages to provide sequence< string > files.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallCatalogs( [in] unsigned long xid, [in] sequence< string > files, [in] string interaction);
+
+ /**
+ * Installs sequence< string > packages from a configured software source.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallPackageNames( [in] unsigned long xid, [in] sequence< string > packages, [in] string interaction);
+
+ /**
+ * Installs mimetype handlers from a configured software source.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallMimeTypes( [in] unsigned long xid, [in] sequence< string > mime_types, [in] string interaction);
+
+ /**
+ * Installs fontconfig resources ( [in] usually fonts) from a configured software source.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallFontconfigRessources( [in] unsigned long xid, [in] sequence< string > resources, [in] string interaction);
+
+ /**
+ * Installs GStreamer resources ( [in] usually codecs) from a configured software source.
+ * @since LibreOffice 3.7
+ */
+
+ void InstalliGStreamerRessources( [in] unsigned long xid, [in] sequence< string > resources, [in] string interaction);
+
+ /**
+ * Installs resources of a given type from a configured software source.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallRessources( [in] unsigned long xid, [in] sequence< string > types, [in] sequence< string > resources, [in] string interaction);
+
+ /**
+ * Removes sequence< string > packages that provide the given local sequence< string > files.
+ * @since LibreOffice 3.7
+ */
+
+ void RemovePackageByFiles( [in] unsigned long xid, [in] sequence< string > files, [in] string interaction);
+
+ /**
+ * Installs printer drivers from a configured software source.
+ * @since LibreOffice 3.7
+ */
+
+ void InstallPrinterDrivers( [in] unsigned long xid, [in] sequence< string > files, [in] string interaction);
+};
+
+} ; // PackageKit
+} ; // freedesktop
+} ; // org
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/org/freedesktop/PackageKit/XQuery.idl b/offapi/org/freedesktop/PackageKit/XQuery.idl
new file mode 100644
index 000000000000..9eb4483a85c7
--- /dev/null
+++ b/offapi/org/freedesktop/PackageKit/XQuery.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+#ifndef org_freedesktop_PakageKit_XQuery_idl
+#define org_freedesktop_PakageKit_XQuery_idl
+
+#include <com/sun/star/uno/XInterface.idl>
+
+module org
+{
+module freedesktop
+{
+module PackageKit
+{
+/**
+ * The interface used for quering the package database.
+ */
+interface XQuery : com::sun::star::uno::XInterface
+{
+ /**
+ * Installs local package files or service packs.
+ * @since LibreOffice 3.7
+ */
+
+ void IsInstalled([in] string package_name, [in] string interaction, [out] boolean installed);
+
+ /**
+ * Installs packages to provide files.
+ * @since LibreOffice 3.7
+ */
+
+ void SearchFile([in] string file_name, [in] string interaction, [out] boolean installed, [out] string package_name);
+
+};
+
+} ; // PackageKit
+} ; // freedesktop
+} ; // org
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/org/freedesktop/PackageKit/XSyncDbusSessionHelper.idl b/offapi/org/freedesktop/PackageKit/XSyncDbusSessionHelper.idl
new file mode 100644
index 000000000000..bc19f776fc11
--- /dev/null
+++ b/offapi/org/freedesktop/PackageKit/XSyncDbusSessionHelper.idl
@@ -0,0 +1,31 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+#ifndef org_freedesktop_PackageKit_XSyncDbusSessionHelper_idl
+#define org_freedesktop_PackageKit_XSyncDbusSessionHelper_idl
+
+#include <org/freedesktop/PackageKit/XModify.idl>
+#include <org/freedesktop/PackageKit/XQuery.idl>
+
+module org {
+module freedesktop {
+module PackageKit {
+
+interface XSyncDbusSessionHelper
+{
+ interface XModify;
+ interface XQuery;
+};
+
+} ; // PackageKit
+} ; // freedesktop
+} ; // org
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */