Update of /cvsroot/fxruby/FXRuby/swig-interfaces
In directory usw-pr-cvs1:/tmp/cvs-serv24207/swig-interfaces
Modified Files:
Tag: release10
FXApp.i
Log Message:
Removed the FXApp#enableThreads and FXApp#disableThreads instance methods
and replaced with a single method, FXApp#threadsEnabled=, which accepts
true or false. This makes the API more consistent with the recently added
FXApp#threadsEnabled? instance method.
Index: FXApp.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXApp.i,v
retrieving revision 1.38.2.2
retrieving revision 1.38.2.3
diff -C2 -d -r1.38.2.2 -r1.38.2.3
*** FXApp.i 30 Apr 2002 02:12:46 -0000 1.38.2.2
--- FXApp.i 30 Apr 2002 19:02:41 -0000 1.38.2.3
***************
*** 521,524 ****
--- 521,525 ----
%exception FXRbApp::FXRbApp "$action FXRbRegisterRubyObj(self, result);";
+ %rename("threadsEnabled=") FXRbApp::setThreadsEnabled();
%rename("threadsEnabled?") FXRbApp::threadsEnabled() const;
***************
*** 535,543 ****
FXRbApp(const FXchar *name="Application",const FXchar *vendor="FoxDefault");
! // Enable support for multithreaded applications
! void enableThreads();
!
! // Disable support for multithreaded applications
! void disableThreads();
// Are threads enabled?
--- 536,541 ----
FXRbApp(const FXchar *name="Application",const FXchar *vendor="FoxDefault");
! // Enable (or disable) support for multithreaded applications
! void setThreadsEnabled(FXbool enabled);
// Are threads enabled?
|