// When adding an entry here, don't forget to update SaveTypeNames as well
enum SaveType {
SaveTypeBinary,
- SaveTypeHexDump,
+ SaveTypeHexDumpPlain,
+ SaveTypeHexDumpWithOffset,
+ SaveTypeHexDumpComplete,
SaveTypeCount // Indicates how many save types there are, must always be last
};
public:
explicit View(Session &session, bool is_main_view=false, QMainWindow *parent = nullptr);
- ~View();
-
virtual ViewType get_type() const;
/**
void update_data();
void save_data() const;
- void save_data_as_hex_dump() const;
+ void save_data_as_hex_dump(bool with_offset=false, bool with_ascii=false) const;
private Q_SLOTS:
void on_selected_decoder_changed(int index);