summaryrefslogtreecommitdiff
path: root/examples/triage/sections.h
blob: 00285df84c7e93f46b32da62e0e31f5ea36dfca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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; }
};