Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
app/wayland: move late-tasks to App
[staging/windowmanager.git]
/
src
/
controller_hooks.hpp
diff --git
a/src/controller_hooks.hpp
b/src/controller_hooks.hpp
index
47ab0ec
..
8618edc
100644
(file)
--- a/
src/controller_hooks.hpp
+++ b/
src/controller_hooks.hpp
@@
-23,6
+23,8
@@
#include <cstdint>
+#include <functional>
+
namespace wm {
struct App;
@@
-33,6
+35,8
@@
struct controller_hooks {
void surface_created(uint32_t surface_id);
void surface_removed(uint32_t surface_id);
+
+ void add_task(char const *name, std::function<void()> &&);
};
} // namespace wm