#include <boost/shared_ptr.hpp>
-#include <Moof/Exception.hh>
#include <Moof/Layer.hh>
#include <Moof/Math.hh>
// 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() {}
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;
};