From 73a9399f5d1d86c7e291498b7fe836550f2f76ab Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 2 Apr 2019 15:30:45 -0400 Subject: Add a C++ version of the triage plugin (no Makefile yet) --- examples/triage/sections.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/triage/sections.h (limited to 'examples/triage/sections.h') 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 +#include "uitypes.h" + + +class SegmentsWidget: public QWidget +{ + std::vector m_segments; + +public: + SegmentsWidget(QWidget* parent, BinaryViewRef data); + const std::vector& GetSegments() const { return m_segments; } +}; + + +class SectionsWidget: public QWidget +{ + std::vector m_sections; + +public: + SectionsWidget(QWidget* parent, BinaryViewRef data); + const std::vector& GetSections() const { return m_sections; } +}; -- cgit v1.3.1