X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Fdecoder_output%2Fview.hpp;h=16d35e82e2823af56cfe83cd5738798360667e6c;hb=38b77a3ba1738aebf516491cc95e25219938a877;hp=28c7e9066ae27960d8b321919c8f2ec472ac2d13;hpb=13b726cda35835a120ade2d9cc1ab58770d4ef3f;p=pulseview.git diff --git a/pv/views/decoder_output/view.hpp b/pv/views/decoder_output/view.hpp index 28c7e906..16d35e82 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 }; @@ -55,8 +57,6 @@ class View : public ViewBase public: explicit View(Session &session, bool is_main_view=false, QMainWindow *parent = nullptr); - ~View(); - virtual ViewType get_type() const; /** @@ -77,7 +77,7 @@ private: 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);