diff options
Diffstat (limited to 'examples/triage/sections.h')
| -rw-r--r-- | examples/triage/sections.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/triage/sections.h b/examples/triage/sections.h new file mode 100644 index 00000000..09c9ea63 --- /dev/null +++ b/examples/triage/sections.h @@ -0,0 +1,24 @@ +#pragma once + +#include <QtWidgets/QWidget> +#include "uitypes.h" + + +class SegmentsWidget: public QWidget +{ + std::vector<SegmentRef> m_segments; + +public: + SegmentsWidget(QWidget* parent, BinaryViewRef data); + const std::vector<SegmentRef>& GetSegments() const { return m_segments; } +}; + + +class SectionsWidget: public QWidget +{ + std::vector<SectionRef> m_sections; + +public: + SectionsWidget(QWidget* parent, BinaryViewRef data); + const std::vector<SectionRef>& GetSections() const { return m_sections; } +}; |
