mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
30 lines
412 B
C
30 lines
412 B
C
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QVariant>
|
|
|
|
struct gui_save
|
|
{
|
|
QString key;
|
|
QString name;
|
|
QVariant def;
|
|
|
|
gui_save()
|
|
{
|
|
key = "";
|
|
name = "";
|
|
def = QVariant();
|
|
}
|
|
|
|
gui_save(const QString& k, const QString& n, const QVariant& d)
|
|
{
|
|
key = k;
|
|
name = n;
|
|
def = d;
|
|
}
|
|
|
|
bool operator==(const gui_save& rhs) const noexcept
|
|
{
|
|
return key == rhs.key && name == rhs.name && def == rhs.def;
|
|
}
|
|
};
|