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?
17 lines
494 B
C++
17 lines
494 B
C++
#pragma once
|
|
#include <QAbstractTableModel>
|
|
#include "replay.h"
|
|
|
|
class ReplayCommandModel : public QAbstractTableModel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ReplayCommandModel(std::shared_ptr<ReplayFile> replay, QObject *parent = nullptr);
|
|
|
|
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
|
int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
|
|
|
private:
|
|
std::shared_ptr<ReplayFile> mReplay;
|
|
};
|