]> sigrok.org Git - pulseview.git/blobdiff - pv/views/decoder_output/view.hpp
QHexView: Fix selection display
[pulseview.git] / pv / views / decoder_output / view.hpp
index ece85ad65835f45a5d83a29ece14f8eb97515ae6..a6362ede7ac59646e1b08e43124c741abaab96d9 100644 (file)
@@ -41,7 +41,9 @@ namespace decoder_output {
 // 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
 };
 
@@ -76,6 +78,9 @@ private:
        void reset_data();
        void update_data();
 
+       void save_data() 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);
        void on_selected_class_changed(int index);