diff options
author | David Robillard <d@drobilla.net> | 2021-05-11 13:45:26 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-11 13:45:26 -0400 |
commit | df0fdf362347495531bc3a5d19233220721d846b (patch) | |
tree | e3631d08630d4d6651eb24aa53c9fc49157778ab /src/handle_event.hpp | |
parent | c6ae340c6222240dc45e9bba714c722cebece186 (diff) | |
download | patchage-df0fdf362347495531bc3a5d19233220721d846b.tar.gz patchage-df0fdf362347495531bc3a5d19233220721d846b.tar.bz2 patchage-df0fdf362347495531bc3a5d19233220721d846b.zip |
Refactor most functionality around actions and settings
This moves more code into general places, and completely eliminates
dependencies on the Patchage "god object".
Diffstat (limited to 'src/handle_event.hpp')
-rw-r--r-- | src/handle_event.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/handle_event.hpp b/src/handle_event.hpp index 6a62d61..5cf15ef 100644 --- a/src/handle_event.hpp +++ b/src/handle_event.hpp @@ -21,11 +21,18 @@ namespace patchage { -class Patchage; +class Configuration; +class Metadata; +class Canvas; +class ILog; /// Handle an event from the system by updating the GUI as necessary void -handle_event(Patchage& patchage, const Event& event); +handle_event(Configuration& conf, + Metadata& metadata, + Canvas& canvas, + ILog& log, + const Event& event); } // namespace patchage |