| 7 | class Sector; |
| 8 | |
| 9 | class AbstractSectorView : public hex::View::Window |
| 10 | { |
| 11 | public: |
| 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 | |
| 25 | protected: |
| 26 | virtual std::shared_ptr<const Sector> getSector( |
| 27 | unsigned cylinder, unsigned head, unsigned sectorId) = 0; |
| 28 | virtual DiskLayout::LayoutBounds getBounds() = 0; |
| 29 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected