#include <SDL/SDL.h>
-#include <Moof/Exception.hh>
-
namespace Mf {
Video();
explicit Video(const Attributes& attribs);
- explicit Video(const std::string& caption, const std::string& icon);
+ Video(const std::string& caption, const std::string& icon);
~Video();
void setVideoMode(const long mode[3]);
int getWidth() const;
int getHeight() const;
-
- struct Exception : public Mf::Exception
- {
- explicit Exception(unsigned error) :
- Mf::Exception(error) {}
-
- void raise()
- {
- throw *this;
- }
- };
-
private:
void init(const Attributes& attribs);