22 lines
426 B
C++
22 lines
426 B
C++
#ifndef METACOMMAND_H
|
|
#define METACOMMAND_H
|
|
|
|
#include <QObject>
|
|
#include <QUndoCommand>
|
|
|
|
#include "../../qhexmetadata.h"
|
|
|
|
// this class is newed by wingsummer
|
|
|
|
class MetaCommand : public QUndoCommand {
|
|
public:
|
|
MetaCommand(QHexMetadata *hexmeta, const QHexMetadataItem &meta,
|
|
QUndoCommand *parent = nullptr);
|
|
|
|
protected:
|
|
QHexMetadata *m_hexmeta;
|
|
QHexMetadataItem m_meta;
|
|
};
|
|
|
|
#endif // METACOMMAND_H
|