summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdepend.h
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-01-23 19:53:42 +0100
committer couriersud <couriersud@arcor.de>2015-01-23 19:53:42 +0100
commit4a4ae1d5ed8aaa37d5d6480ccb57eaca82fd6837 (patch)
treef59ed3b7db5c68d0b85435cf9eb559093439e9c4 /src/osd/osdepend.h
parentaf8034795539e015c710775a42292c52aa7fe64f (diff)
Added a generic module abstraction layer and migrated font modules to
use this layer. (nw)
Diffstat (limited to 'src/osd/osdepend.h')
-rw-r--r--src/osd/osdepend.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/osd/osdepend.h b/src/osd/osdepend.h
index c5c1aaf285d..4e2afcae223 100644
--- a/src/osd/osdepend.h
+++ b/src/osd/osdepend.h
@@ -18,6 +18,7 @@
#include "unicode.h"
#include "cliopts.h"
+
// forward references
class input_type_entry; // FIXME: including emu.h does not work because emu.h includes osdepend.h
@@ -40,12 +41,6 @@ public:
// ======================> osd_interface
-/* FIXME: this should be replaced by a proper module implementation
- * For the time being only one font provider can be linked
- */
-
-osd_font *osd_font_alloc();
-
// description of the currently-running machine
class osd_interface
{
@@ -71,9 +66,7 @@ public:
virtual void *get_slider_list() = 0; // FIXME: returns slider_state *
// font interface
-
- // font is allocated with global_alloc; therefore use global_free!
- osd_font *font_alloc() { return osd_font_alloc(); }
+ virtual osd_font *font_alloc() = 0;
// command option overrides
virtual bool execute_command(const char *command) = 0;