File indexing completed on 2022-11-23 12:18:32

0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0002 // SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org>
0003 
0004 #pragma once
0005 
0006 #include <QStringList>
0007 
0008 class SMARTData;
0009 
0010 // Stringifies smartctl exit codes (= failures) into pretty strings fit for
0011 // display to user. Also filters uninteresting failures.
0012 namespace Instabilities
0013 {
0014 QStringList from(const SMARTData &data);
0015 };