summaryrefslogtreecommitdiff
path: root/src/driver.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-05 21:26:51 +0000
committerrubidium <rubidium@openttd.org>2009-09-05 21:26:51 +0000
commitbc5241600a33f7271a839105c4752ad24f202c1c (patch)
tree57ec42b3a8b93498e79f3fdc26ca3e10febdaee7 /src/driver.h
parent0be5e5935560de419283540ea6280acdff3dea9c (diff)
downloadopenttd-bc5241600a33f7271a839105c4752ad24f202c1c.tar.xz
(svn r17428) -Codechange: add a function to get the name of a driver
Diffstat (limited to 'src/driver.h')
-rw-r--r--src/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver.h b/src/driver.h
index c32529f60..7abd4c186 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -36,6 +36,8 @@ public:
DT_VIDEO,
DT_END,
};
+
+ virtual const char *GetName() const = 0;
};
DECLARE_POSTFIX_INCREMENT(Driver::Type);