X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FEngine.hh;h=84b1f588f57e41c55d5a185bec8e0d40abcca198;hb=cfe38a72ab859538db6269bc9b97f55e8f1f8709;hp=e49f44db853cbf30ca59539a5ab6f04bac64a1be;hpb=a4debfe4a5f5d339410788971b698ba00cb7f09c;p=chaz%2Fyoink diff --git a/src/Moof/Engine.hh b/src/Moof/Engine.hh index e49f44d..84b1f58 100644 --- a/src/Moof/Engine.hh +++ b/src/Moof/Engine.hh @@ -31,7 +31,6 @@ #include -#include #include #include @@ -42,8 +41,10 @@ namespace Mf { // forward declarations class Video; -struct Engine +class Engine { +public: + Engine(int argc, char* argv[], const std::string& name, const std::string& iconFile, const std::string& configFile); ~Engine() {} @@ -67,20 +68,10 @@ struct Engine LayerP pop(Layer* layer); void clear(); - struct Exception : public Mf::Exception - { - explicit Exception(unsigned error) : - Mf::Exception(error) {} - - void raise() - { - throw *this; - } - }; - private: + class Impl; - boost::shared_ptr impl_; + boost::shared_ptr mImpl; };