summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/main.cpp
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-12-03 09:38:03 +0200
committerAndreas Kling <kling@serenityos.org>2021-12-03 15:38:21 +0100
commit3e9a96f1d8e5037ea164f1c180853d5366880083 (patch)
tree512a0672bf0094e8f877218c46d8d55709d8d105 /Userland/DevTools/HackStudio/main.cpp
parent3a44b8111b7a9bd058aabf712ded8d1e86830d37 (diff)
downloadserenity-3e9a96f1d8e5037ea164f1c180853d5366880083.zip
HackStudio: Add HackStudio::for_each_open_file
Diffstat (limited to 'Userland/DevTools/HackStudio/main.cpp')
-rw-r--r--Userland/DevTools/HackStudio/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp
index a0c4650dc8..4ead5ec113 100644
--- a/Userland/DevTools/HackStudio/main.cpp
+++ b/Userland/DevTools/HackStudio/main.cpp
@@ -168,4 +168,9 @@ Locator& locator()
return s_hack_studio_widget->locator();
}
+void for_each_open_file(Function<void(ProjectFile const&)> func)
+{
+ s_hack_studio_widget->for_each_open_file(move(func));
+}
+
}