1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#ifndef APPLICATION_H #define APPLICATION_H #include "pattern.h" #include <AR/gsub_lite.h> #include <AR/ar.h> #include <SDL/SDL.h> class Application { private: ARParam cparam; ARGL_CONTEXT_SETTINGS_REF argl_ctx; SDL_Surface *surface; int count; public: Pattern* patt; Application(); ~Application(); void run(); void main_loop(void); }; #endif