 |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file. 1 #ifndef REMOVECOMMAND_H
2 #define REMOVECOMMAND_H
14 #endif // REMOVECOMMAND_H
Definition: hexcommand.h:7
Definition: qhexbuffer.h:7
qint64 m_offset
Definition: hexcommand.h:14
RemoveCommand(QHexBuffer *buffer, qint64 offset, int length, QUndoCommand *parent=nullptr)
Definition: removecommand.cpp:3
QHexBuffer * m_buffer
Definition: hexcommand.h:13
virtual void read(char *data, int size)
Definition: qhexbuffer.cpp:15
void undo() override
Definition: removecommand.cpp:9
void redo() override
Definition: removecommand.cpp:11
virtual void remove(qint64 offset, int length)=0
Definition: removecommand.h:6
QByteArray m_data
Definition: hexcommand.h:16
virtual void insert(qint64 offset, const QByteArray &data)=0
int m_length
Definition: hexcommand.h:15