mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-27 16:02:37 +00:00
25 lines
603 B
C++
25 lines
603 B
C++
#ifndef TROPHY_VIEWER_DIALOG_H
|
|
#define TROPHY_VIEWER_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QTabWidget;
|
|
class QWidget;
|
|
|
|
class Configuration;
|
|
class TrophyViewerDialog: public QDialog {
|
|
public:
|
|
explicit TrophyViewerDialog(QWidget* parent = nullptr);
|
|
|
|
static bool HasTrophyData(const Configuration* info);
|
|
static void ShowForGame(const Configuration* info, const QString& runtime_directory,
|
|
QWidget* parent);
|
|
|
|
private:
|
|
bool LoadGame(const Configuration& info, const QString& runtime_directory, QString& error);
|
|
|
|
QTabWidget* m_tabs = nullptr;
|
|
};
|
|
|
|
#endif // TROPHY_VIEWER_DIALOG_H
|