diff options
author | rubidium <rubidium@openttd.org> | 2009-09-05 21:26:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-05 21:26:51 +0000 |
commit | bc5241600a33f7271a839105c4752ad24f202c1c (patch) | |
tree | 57ec42b3a8b93498e79f3fdc26ca3e10febdaee7 /src/driver.h | |
parent | 0be5e5935560de419283540ea6280acdff3dea9c (diff) | |
download | openttd-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.h | 2 |
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); |