give imgui code access to notes

This commit is contained in:
Green Sky
2025-09-02 11:12:48 +02:00
parent b6a68c830e
commit 66b5fdecfb
4 changed files with 10 additions and 3 deletions

View File

@@ -6,6 +6,7 @@
#include <set>
class CRDTNotesImGui {
CRDTNotes& _notes;
CRDTNotesSync& _notes_sync;
ContactStore4I& _cs;
@@ -14,7 +15,7 @@ class CRDTNotesImGui {
std::set<CRDTNotes::DocID> _open_docs;
public:
CRDTNotesImGui(CRDTNotesSync& notes_sync, ContactStore4I& cs);
CRDTNotesImGui(CRDTNotes& notes, CRDTNotesSync& notes_sync, ContactStore4I& cs);
float render(void);