mirror of
https://github.com/decaf-emu/decaf-emu.git
synced 2025-04-02 10:42:13 -04:00
Basic skeleton app now, let's see if we can iterate on this until we have something useful?
27 lines
457 B
C++
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;
|
|
};
|