Delay committing fullscreen until seeing window size change
[lsnes.git] / include / core / dispatch.hpp
blob44b7d21d2b4e412dc7b08a5056a6a29ad3d031de
1 #ifndef _dispatch__hpp__included__
2 #define _dispatch__hpp__included__
4 #include "library/framebuffer.hpp"
5 #include "library/dispatch.hpp"
7 #include <cstdint>
8 #include <string>
9 #include <stdexcept>
10 #include <set>
11 #include <map>
13 struct emulator_dispatch
15 emulator_dispatch();
16 void set_error_streams(std::ostream* stream);
17 dispatch::source<> autohold_reconfigure;
18 dispatch::source<unsigned, unsigned, unsigned, bool> autohold_update;
19 dispatch::source<unsigned, unsigned, unsigned, unsigned, unsigned> autofire_update;
20 dispatch::source<> close;
21 dispatch::source<std::pair<std::string, std::string>> sound_change;
22 dispatch::source<> screen_update;
23 dispatch::source<> status_update;
24 dispatch::source<bool> sound_unmute;
25 dispatch::source<bool> mode_change;
26 dispatch::source<> core_change;
27 dispatch::source<> title_change;
28 dispatch::source<> branch_change;
29 dispatch::source<> mbranch_change;
30 dispatch::source<bool> core_changed;
31 dispatch::source<> voice_stream_change;
32 dispatch::source<> vu_change;
33 dispatch::source<> subtitle_change;
34 dispatch::source<unsigned, unsigned, int> multitrack_change;
35 dispatch::source<> action_update;
38 extern dispatch::source<> notify_new_core;
41 #endif