2011-11-09 00:05:57 +02:00
|
|
|
#ifndef _dispatch__hpp__included__
|
|
|
|
#define _dispatch__hpp__included__
|
|
|
|
|
2012-06-20 17:40:27 +03:00
|
|
|
#include "library/framebuffer.hpp"
|
2013-07-07 13:54:56 +03:00
|
|
|
#include "library/dispatch.hpp"
|
2011-11-09 00:05:57 +02:00
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
|
|
|
#include <stdexcept>
|
|
|
|
#include <set>
|
|
|
|
#include <map>
|
|
|
|
|
2014-05-31 13:58:17 +03:00
|
|
|
struct emulator_dispatch
|
|
|
|
{
|
|
|
|
emulator_dispatch();
|
|
|
|
void set_error_streams(std::ostream* stream);
|
|
|
|
dispatch::source<> autohold_reconfigure;
|
|
|
|
dispatch::source<unsigned, unsigned, unsigned, bool> autohold_update;
|
|
|
|
dispatch::source<unsigned, unsigned, unsigned, unsigned, unsigned> autofire_update;
|
|
|
|
dispatch::source<> close;
|
|
|
|
dispatch::source<std::pair<std::string, std::string>> sound_change;
|
|
|
|
dispatch::source<> screen_update;
|
|
|
|
dispatch::source<> status_update;
|
|
|
|
dispatch::source<bool> sound_unmute;
|
|
|
|
dispatch::source<bool> mode_change;
|
|
|
|
dispatch::source<> core_change;
|
|
|
|
dispatch::source<> title_change;
|
|
|
|
dispatch::source<> branch_change;
|
|
|
|
dispatch::source<> mbranch_change;
|
|
|
|
dispatch::source<bool> core_changed;
|
|
|
|
dispatch::source<> voice_stream_change;
|
|
|
|
dispatch::source<> vu_change;
|
|
|
|
dispatch::source<> subtitle_change;
|
|
|
|
dispatch::source<unsigned, unsigned, int> multitrack_change;
|
|
|
|
};
|
2011-11-09 00:05:57 +02:00
|
|
|
|
2014-05-31 13:58:17 +03:00
|
|
|
extern dispatch::source<> notify_new_core;
|
2013-07-07 13:54:56 +03:00
|
|
|
|
|
|
|
|
2011-11-09 00:05:57 +02:00
|
|
|
#endif
|