summaryrefslogtreecommitdiff
path: root/examples/triage/sections.h
blob: 09c9ea632df79cf20739be2be76a7042aa265bb6 (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; }
};