#include <list>
#include <map>
+#include <stdexcept>
#include <string>
namespace Msp {
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: