| 1 | struct Interface : Emulator::Interface::Bind { |
| 2 | void loadRequest(unsigned id, string name, string type); |
| 3 | void loadRequest(unsigned id, string path); |
| 4 | void saveRequest(unsigned id, string path); |
| 5 | uint32_t videoColor(unsigned source, uint16_t alpha, uint16_t red, uint16_t green, uint16_t blue); |
| 6 | void videoRefresh(const uint32_t* palette, const uint32_t* data, unsigned pitch, unsigned width, unsigned height); |
| 7 | void audioSample(int16_t lsample, int16_t rsample); |
| 8 | int16_t inputPoll(unsigned port, unsigned device, unsigned input); |
| 9 | void inputRumble(unsigned port, unsigned device, unsigned input, bool enable); |
| 10 | unsigned dipSettings(const Markup::Node& node); |
| 11 | string path(unsigned group); |
| 12 | string server(); |
| 13 | void notify(string text); |
| 14 | }; |
| 15 | |
| 16 | extern Interface* interface; |