mirror of
https://github.com/PabloMK7/citra.git
synced 2024-12-15 01:01:19 +01:00
31 lines
563 B
C++
31 lines
563 B
C++
|
// Copyright 2018 Citra Emulator Project
|
||
|
// Licensed under GPLv2 or any later version
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <memory>
|
||
|
#include <QDialog>
|
||
|
|
||
|
namespace Ui {
|
||
|
class CheatDialog;
|
||
|
} // namespace Ui
|
||
|
|
||
|
class CheatDialog : public QDialog {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit CheatDialog(QWidget* parent = nullptr);
|
||
|
~CheatDialog();
|
||
|
|
||
|
private:
|
||
|
std::unique_ptr<Ui::CheatDialog> ui;
|
||
|
|
||
|
void LoadCheats();
|
||
|
|
||
|
private slots:
|
||
|
void OnCancel();
|
||
|
void OnRowSelected(int row, int column);
|
||
|
void OnCheckChanged(int state);
|
||
|
};
|