Elaztek Developer Hub
Blamite Game Engine - Keystone  00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
hexcommand.h
Go to the documentation of this file.
1 #ifndef HEXCOMMAND_H
2 #define HEXCOMMAND_H
3 
4 #include <QUndoCommand>
5 #include "../buffer/qhexbuffer.h"
6 
7 class HexCommand: public QUndoCommand
8 {
9  public:
10  HexCommand(QHexBuffer* buffer, QUndoCommand* parent = nullptr);
11 
12  protected:
14  qint64 m_offset;
15  int m_length;
16  QByteArray m_data;
17 };
18 
19 #endif // HEXCOMMAND_H
HexCommand
Definition: hexcommand.h:7
QHexBuffer
Definition: qhexbuffer.h:7
HexCommand::m_offset
qint64 m_offset
Definition: hexcommand.h:14
hexcommand.h
HexCommand::m_buffer
QHexBuffer * m_buffer
Definition: hexcommand.h:13
HexCommand::HexCommand
HexCommand(QHexBuffer *buffer, QUndoCommand *parent=nullptr)
Definition: hexcommand.cpp:3
HexCommand::m_data
QByteArray m_data
Definition: hexcommand.h:16
HexCommand::m_length
int m_length
Definition: hexcommand.h:15