diff options
| author | 2013-09-17 06:47:03 +0000 | |
|---|---|---|
| committer | 2013-09-17 06:47:03 +0000 | |
| commit | 96aa5e1c086b4927456dc88b925d8ec112f0482e (patch) | |
| tree | f59d136c51d4a065f39e3ab0d73981526c4d156b /src/emu/webengine.h | |
| parent | a7d12daf5b4c3374e8ad47a003ac7fff73d5c8fc (diff) | |
Cleanups and version bumpmame0150
Diffstat (limited to 'src/emu/webengine.h')
| -rw-r--r-- | src/emu/webengine.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/emu/webengine.h b/src/emu/webengine.h index 1d54646a373..89db9d99c20 100644 --- a/src/emu/webengine.h +++ b/src/emu/webengine.h @@ -55,25 +55,25 @@ public: void push_message(const char *message); void close(); - void set_machine(running_machine &machine) { m_machine = &machine; } - + void set_machine(running_machine &machine) { m_machine = &machine; } + void websocket_ready_handler(struct mg_connection *conn); int websocket_data_handler(struct mg_connection *conn, int flags, char *data, size_t data_len); - int begin_request_handler(struct mg_connection *conn); - void *websocket_keepalive(); + int begin_request_handler(struct mg_connection *conn); + void *websocket_keepalive(); protected: // getters running_machine &machine() const { return *m_machine; } - + int json_game_handler(struct mg_connection *conn); int json_slider_handler(struct mg_connection *conn); private: // internal state - emu_options & m_options; - running_machine * m_machine; + emu_options & m_options; + running_machine * m_machine; struct mg_context * m_ctx; - osd_ticks_t m_lastupdatetime; - bool m_exiting_core; + osd_ticks_t m_lastupdatetime; + bool m_exiting_core; simple_list<simple_list_wrapper<mg_connection> > m_websockets; }; |
