+#ifndef MSP_GRAPHICS_VIDEOMODE_H_
+#define MSP_GRAPHICS_VIDEOMODE_H_
+
+namespace Msp {
+namespace Graphics {
+
+struct VideoMode;
+
+class unsupported_video_mode: public std::runtime_error
+{
+public:
+ unsupported_video_mode(const VideoMode &);
+ virtual ~unsupported_video_mode() throw () { }
+};
+
+
+struct VideoMode
+{
+ unsigned width;
+ unsigned height;
+ unsigned rate;
+
+ VideoMode(): width(0), height(0), rate(0) { }
+ VideoMode(unsigned w, unsigned h): width(w), height(h), rate(0) { }
+};
+
+} // namespace Graphics
+} // namespace Msp
+
+#endif