tron@2186: /* $Id$ */ tron@2186: tron@2178: #ifndef VIDEO_DEDICATED_H tron@2178: #define VIDEO_DEDICATED_H tron@2178: peter1138@7170: #include "video_driver.hpp" tron@2178: peter1138@7170: class VideoDriver_Dedicated: public VideoDriver { peter1138@7170: public: peter1138@7170: /* virtual */ const char *Start(const char * const *param); peter1138@7170: peter1138@7170: /* virtual */ void Stop(); peter1138@7170: peter1138@7170: /* virtual */ void MakeDirty(int left, int top, int width, int height); peter1138@7170: peter1138@7170: /* virtual */ void MainLoop(); peter1138@7170: peter1138@7170: /* virtual */ bool ChangeResolution(int w, int h); peter1138@7170: peter1138@7170: /* virtual */ void ToggleFullscreen(bool fullscreen); peter1138@7170: }; peter1138@7170: peter1138@7170: class FVideoDriver_Dedicated: public VideoDriverFactory { peter1138@7170: public: peter1138@7193: static const int priority = 0; peter1138@7170: /* virtual */ const char *GetName() { return "dedicated"; } peter1138@7170: /* virtual */ const char *GetDescription() { return "Dedicated Video Driver"; } peter1138@7170: /* virtual */ Driver *CreateInstance() { return new VideoDriver_Dedicated(); } peter1138@7170: }; tron@2178: Darkvater@5988: #endif /* VIDEO_DEDICATED_H */