X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgbase%2Fdisplay.h;h=662e73fa67e6dc8742a49fec2994dbdb7caf89b0;hb=7d2b4349289578b8e7f322186a1f251684ddeb01;hp=c058e4118c80faec75c9dd0046a4add0d576ca82;hpb=dce7552c5e2f64fcf5f58b0c934bb4a01f6cbcf7;p=libs%2Fgui.git diff --git a/source/gbase/display.h b/source/gbase/display.h index c058e41..662e73f 100644 --- a/source/gbase/display.h +++ b/source/gbase/display.h @@ -3,6 +3,7 @@ #include #include +#include #include namespace Msp { @@ -20,6 +21,15 @@ struct VideoMode VideoMode(unsigned w, unsigned h): width(w), height(h), rate(0) { } }; + +class unsupported_video_mode: public std::runtime_error +{ +public: + unsupported_video_mode(const VideoMode &); + virtual ~unsupported_video_mode() throw () { } +}; + + class Display { public: