mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01: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:
parent
a54952795a
commit
8cac2e89a9
8 changed files with 157 additions and 46 deletions
|
@ -72,6 +72,8 @@ public:
|
|||
void show_edit_annotation_dialog(Annotation&);
|
||||
void show_delete_annotation_dialog(Annotation&);
|
||||
|
||||
HexDocument& document() { return *m_document; }
|
||||
|
||||
protected:
|
||||
HexEditor();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue