X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMain.hh;fp=src%2FMain.hh;h=47163d11c5bd14232e2c3340e00a7d7c77bc4118;hp=4532e41ea2e3b4a409513fea1b30df1d9ab76a64;hb=d6990468d297a6cbee98e4d0d33ab37e1b2352c9;hpb=1d4aa0d34b0410c7bc60a24bad7abb55eacc850a diff --git a/src/Main.hh b/src/Main.hh index 4532e41..47163d1 100644 --- a/src/Main.hh +++ b/src/Main.hh @@ -22,31 +22,21 @@ #include +#include #include #include #include -#include -namespace moof -{ - class settings; - class view; -} - - -class Main; -typedef boost::shared_ptr
MainP; - -class Main : public moof::view +class Main : public moof::application { public: - Main(moof::settings& settings, moof::video& video); + Main(moof::settings& settings); void update(moof::scalar t, moof::scalar dt); void draw(moof::scalar alpha) const; - bool handle_event(const moof::event& event); + void handle_event(const moof::event& event); static std::string search_paths(); static std::string config_paths();