File indexing completed on 2024-11-17 04:55:42

0001 /*
0002  *   SPDX-FileCopyrightText: 2012-2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003  *
0004  *   SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #pragma once
0008 
0009 #include <PackageKit/Transaction>
0010 
0011 namespace PackageKitMessages
0012 {
0013 QString errorMessage(PackageKit::Transaction::Error error, const QString &errorMessage);
0014 QString restartMessage(PackageKit::Transaction::Restart restart, const QString &p);
0015 QString restartMessage(PackageKit::Transaction::Restart restart);
0016 QString statusMessage(PackageKit::Transaction::Status status);
0017 QString statusDetail(PackageKit::Transaction::Status status);
0018 QString updateStateMessage(PackageKit::Transaction::UpdateState state);
0019 QString info(PackageKit::Transaction::Info info);
0020 }