summaryrefslogtreecommitdiff
path: root/offapi/org/freedesktop/PackageKit/XQuery.idl
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/XQuery.idl
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/XQuery.idl')
-rw-r--r--offapi/org/freedesktop/PackageKit/XQuery.idl48
1 files changed, 48 insertions, 0 deletions
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: */