X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Fdecoder_output%2Fview.hpp;h=a6362ede7ac59646e1b08e43124c741abaab96d9;hb=a7af8bb09efb5c5a8e4f188cfc0c2f4a4f469647;hp=ece85ad65835f45a5d83a29ece14f8eb97515ae6;hpb=03408f5f5b62ce74016d91d60bdadce8dbddd46b;p=pulseview.git diff --git a/pv/views/decoder_output/view.hpp b/pv/views/decoder_output/view.hpp index ece85ad6..a6362ede 100644 --- a/pv/views/decoder_output/view.hpp +++ b/pv/views/decoder_output/view.hpp @@ -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);