X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fclient.hh;fp=src%2FMain.hh;h=32ca715d50b88b10e9a022c256fd9caed80764bb;hp=65ad901ccf700a8bb1d1a59cfae0609e27e50f71;hb=b7bb13579fa86907a8c221a9dc6285f26942ad44;hpb=62f3ceaff75a6b08cb1aec9a465773bb81a2d79d diff --git a/src/Main.hh b/src/client.hh similarity index 85% rename from src/Main.hh rename to src/client.hh index 65ad901..32ca715 100644 --- a/src/Main.hh +++ b/src/client.hh @@ -10,11 +10,6 @@ #ifndef _MAIN_HH_ #define _MAIN_HH_ -/** - * \file Main.hh - * This is where all the fun begins. - */ - #include #include @@ -28,6 +23,11 @@ #include "yoink.hh" +/** + * \file Main.hh + * This is where all the fun begins. + */ + class Main : public moof::application { public: @@ -38,12 +38,6 @@ public: void draw(moof::scalar alpha) const; void handle_event(const moof::event& event); - static std::string search_paths(); - static std::string config_paths(); - - static void print_usage(); - static void print_info(int argc, char* argv[]); - private: /** @@ -52,7 +46,7 @@ private: static void setup_opengl(); moof::dispatcher::handle video_reloaded_; - moof::timer hotload_timer_; + moof::timer hotload_timer_; ::yoink yoink; };