]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Engine.hh
big batch of changes
[chaz/yoink] / src / Moof / Engine.hh
index e49f44db853cbf30ca59539a5ab6f04bac64a1be..84b1f588f57e41c55d5a185bec8e0d40abcca198 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <boost/shared_ptr.hpp>
 
-#include <Moof/Exception.hh>
 #include <Moof/Layer.hh>
 #include <Moof/Math.hh>
 
@@ -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> impl_;
+       boost::shared_ptr<Impl> mImpl;
 };
 
 
This page took 0.020525 seconds and 4 git commands to generate.