summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/ToDoEntries.h
diff options
context:
space:
mode:
authorLennon Donaghy <donaghylennon@gmail.com>2021-08-01 21:19:26 +0100
committerAndreas Kling <kling@serenityos.org>2021-08-22 10:30:06 +0200
commit6076deae1d2af6ccc7ff5a9b6a5ac1c3e679c975 (patch)
treeabcf82fce5d51008c4131a502dd4a87c3282a2ff /Userland/DevTools/HackStudio/ToDoEntries.h
parentd48bd490025db62e3d2a0801c3fb745fff013891 (diff)
downloadserenity-6076deae1d2af6ccc7ff5a9b6a5ac1c3e679c975.zip
HackStudio: Clear ToDo entries upon opening new project
The ToDoEntries and ToDoEntriesWidget classes now have methods for clearing the entries, before entries would stay permanently, even after switching to a new project.
Diffstat (limited to 'Userland/DevTools/HackStudio/ToDoEntries.h')
-rw-r--r--Userland/DevTools/HackStudio/ToDoEntries.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/ToDoEntries.h b/Userland/DevTools/HackStudio/ToDoEntries.h
index 8efe89e414..b90d3a8161 100644
--- a/Userland/DevTools/HackStudio/ToDoEntries.h
+++ b/Userland/DevTools/HackStudio/ToDoEntries.h
@@ -24,6 +24,8 @@ public:
Vector<Cpp::Parser::TodoEntry> get_entries();
+ void clear_entries();
+
Function<void()> on_update = nullptr;
private: