[Fxruby-commits] CVS: FXRuby/ext/fox/include FXRbApp.h,1.3,1.3.2.1
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-04-30 02:34:18
|
Update of /cvsroot/fxruby/FXRuby/ext/fox/include In directory usw-pr-cvs1:/tmp/cvs-serv20565/ext/fox/include Modified Files: Tag: release10 FXRbApp.h Log Message: Added the FXApp#threadsEnabled? instance method, to see if they are. Index: FXRbApp.h =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/include/FXRbApp.h,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** FXRbApp.h 7 Feb 2002 16:53:50 -0000 1.3 --- FXRbApp.h 30 Apr 2002 02:12:46 -0000 1.3.2.1 *************** *** 89,93 **** FXDECLARE(FXRbApp) protected: ! FXbool threadsEnabled; FXuint sleepTime; FXChore* threadsChore; --- 89,93 ---- FXDECLARE(FXRbApp) protected: ! FXbool m_bThreadsEnabled; FXuint sleepTime; FXChore* threadsChore; *************** *** 112,115 **** --- 112,118 ---- // Disable support for multithreaded applications void disableThreads(); + + // Are threads enabled? + FXbool threadEnabled() const { return m_bThreadsEnabled; } // Set sleep time (in milliseconds) |