1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

HexEditor: Store annotations in a Model

A model is necessary for displaying a list of them in the UI. We might
as well make that their home.
This commit is contained in:
Sam Atkins 2024-01-30 11:08:41 +00:00 committed by Sam Atkins
parent a54952795a
commit 8cac2e89a9
8 changed files with 157 additions and 46 deletions

View file

@ -72,6 +72,8 @@ public:
void show_edit_annotation_dialog(Annotation&);
void show_delete_annotation_dialog(Annotation&);
HexDocument& document() { return *m_document; }
protected:
HexEditor();