summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdepend.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-25 07:31:27 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-25 07:31:27 +0000
commitf8f3d681876e2b39333e01b9bdb52ba61a5bfbe1 (patch)
tree32bbd8d8fc657b7c5c6a96412e9f917555c0697a /src/osd/osdepend.h
parentfbef800627be494a0ab1592a83fa7c76cd63475d (diff)
-Made osd_interface base class for OSD and moved initialization for each subsystem in it as virtual calls. (nw)
-Moved midi handling in base class -Cleaned running_machine of information of next machine -All is cleaned after exiting of running_machine so debugger window is removed as well till next machine is started -Made osdmini to compile
Diffstat (limited to 'src/osd/osdepend.h')
-rw-r--r--src/osd/osdepend.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/osd/osdepend.h b/src/osd/osdepend.h
index 7949079a523..82d61a10f42 100644
--- a/src/osd/osdepend.h
+++ b/src/osd/osdepend.h
@@ -48,6 +48,8 @@ public:
// debugger overridables
virtual void init_debugger();
virtual void wait_for_debugger(device_t &device, bool firststop);
+ virtual void debugger_update();
+ virtual void debugger_exit();
// audio overridables
virtual void update_audio_stream(const INT16 *buffer, int samples_this_frame);
@@ -64,6 +66,25 @@ public:
// video overridables
virtual void *get_slider_list();
+ void init_subsystems();
+ virtual bool video_init();
+ virtual bool sound_init();
+ virtual bool input_init();
+ virtual void input_pause();
+ virtual void input_resume();
+ virtual bool output_init();
+ virtual bool network_init();
+ virtual bool midi_init();
+
+ void exit_subsystems();
+ virtual void video_exit();
+ virtual void sound_exit();
+ virtual void input_exit();
+ virtual void output_exit();
+ virtual void network_exit();
+ virtual void midi_exit();
+
+ virtual void osd_exit();
private:
// internal state
running_machine * m_machine;