[Fxruby-commits] CVS: FXRuby/swig-interfaces FXApp.i,1.38.2.1,1.38.2.2
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-04-30 02:34:17
|
Update of /cvsroot/fxruby/FXRuby/swig-interfaces In directory usw-pr-cvs1:/tmp/cvs-serv20565/swig-interfaces Modified Files: Tag: release10 FXApp.i Log Message: Added the FXApp#threadsEnabled? instance method, to see if they are. Index: FXApp.i =================================================================== RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXApp.i,v retrieving revision 1.38.2.1 retrieving revision 1.38.2.2 diff -C2 -d -r1.38.2.1 -r1.38.2.2 *** FXApp.i 24 Apr 2002 02:55:21 -0000 1.38.2.1 --- FXApp.i 30 Apr 2002 02:12:46 -0000 1.38.2.2 *************** *** 521,524 **** --- 521,526 ---- %exception FXRbApp::FXRbApp "$action FXRbRegisterRubyObj(self, result);"; + %rename("threadsEnabled?") FXRbApp::threadsEnabled() const; + class FXRbApp : public FXApp { public: *************** *** 538,541 **** --- 540,546 ---- // Disable support for multithreaded applications void disableThreads(); + + // Are threads enabled? + FXbool threadsEnabled() const; // Set the amount of time to sleep |