mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
31 lines
412 B
C
31 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;
|
|
}
|
|
};
|