[Fxruby-commits] CVS: FXRuby/ext/fox/include FXRbApp.h,1.3.2.1,1.3.2.2
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <ly...@us...> - 2002-04-30 19:03:03
|
Update of /cvsroot/fxruby/FXRuby/ext/fox/include
In directory usw-pr-cvs1:/tmp/cvs-serv24207/ext/fox/include
Modified Files:
Tag: release10
FXRbApp.h
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: FXRbApp.h
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/include/FXRbApp.h,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -C2 -d -r1.3.2.1 -r1.3.2.2
*** FXRbApp.h 30 Apr 2002 02:12:46 -0000 1.3.2.1
--- FXRbApp.h 30 Apr 2002 19:02:59 -0000 1.3.2.2
***************
*** 107,118 ****
FXRbApp(const FXchar* name,const FXchar* vendor);
! // Enable support for multithreaded applications
! void enableThreads();
!
! // Disable support for multithreaded applications
! void disableThreads();
// Are threads enabled?
! FXbool threadEnabled() const { return m_bThreadsEnabled; }
// Set sleep time (in milliseconds)
--- 107,115 ----
FXRbApp(const FXchar* name,const FXchar* vendor);
! // Enable (or disable) support for multithreaded applications
! void setThreadsEnabled(FXbool enabled);
// Are threads enabled?
! FXbool threadsEnabled() const { return m_bThreadsEnabled; }
// Set sleep time (in milliseconds)
|