X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FEngine.hh;h=84b1f588f57e41c55d5a185bec8e0d40abcca198;hp=e42510d3d86af61744bab076f2186249e1e91e26;hb=8a1acac01b444dccf8b57cedf08392ada2e473c1;hpb=bffc879fc8ee8167bb123310d39fad4e2f426ffd diff --git a/src/Moof/Engine.hh b/src/Moof/Engine.hh index e42510d..84b1f58 100644 --- a/src/Moof/Engine.hh +++ b/src/Moof/Engine.hh @@ -31,7 +31,6 @@ #include -#include #include #include @@ -44,9 +43,6 @@ class Video; class Engine { - class Impl; - boost::shared_ptr mImpl; - public: Engine(int argc, char* argv[], const std::string& name, @@ -72,16 +68,10 @@ public: LayerP pop(Layer* layer); void clear(); - struct Exception : public Mf::Exception - { - explicit Exception(unsigned error) : - Mf::Exception(error) {} +private: - void raise() - { - throw *this; - } - }; + class Impl; + boost::shared_ptr mImpl; };