decaf-emu/tools/pm4-replay-qt/mainwindow.h
James Benton 34901fb792 tools: Add pm4-replay-qt.
Basic skeleton app now, let's see if we can iterate on this until we have
something useful?
2017-05-02 22:28:20 +01:00

27 lines
457 B
C++

#pragma once
#include "decaf.h"
#include "replay.h"
#include "replayrenderwidget.h"
#include "ui_mainwindow.h"
#include <QErrorMessage>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
void startReplay();
protected slots:
void onFileOpen();
void onDecafStarted();
private:
Ui_MainWindow ui;
std::shared_ptr<ReplayFile> mReplay;
QErrorMessage mErrorMessage;
Decaf mDecaf;
};