From cbd5d2435dd143308c434076e06809ed65217561 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 21 Jan 2013 02:32:45 +0100 Subject: menu/application: add quit() to quit the app from everywhere --- src/menu/application.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/menu/application.hpp') diff --git a/src/menu/application.hpp b/src/menu/application.hpp index c6eea5c8..a0c82107 100644 --- a/src/menu/application.hpp +++ b/src/menu/application.hpp @@ -57,6 +57,7 @@ namespace usdx */ void main_loop(SDL_Surface* display); boost::thread::id gl_thread; + boost::thread event_thread; void init_fps_manager(void); @@ -73,6 +74,7 @@ namespace usdx static bool is_gl_thread(void); void run(void); + void quit(void); const int get_frames_per_second(void) const; void set_frames_per_second(int fps); -- cgit v1.2.3