MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / AbstractSectorView

Class AbstractSectorView

src/gui2/abstractsectorview.h:9–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7class Sector;
8
9class AbstractSectorView : public hex::View::Window
10{
11public:
12 AbstractSectorView(const std::string& name);
13
14 void drawContent() override;
15
16 [[nodiscard]] bool shouldDraw() const override
17 {
18 return true;
19 }
20 [[nodiscard]] bool hasViewMenuItemEntry() const override
21 {
22 return true;
23 }
24
25protected:
26 virtual std::shared_ptr<const Sector> getSector(
27 unsigned cylinder, unsigned head, unsigned sectorId) = 0;
28 virtual DiskLayout::LayoutBounds getBounds() = 0;
29};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected