Changeset 210
- Timestamp:
- 02/07/08 14:59:39 (4 years ago)
- Files:
-
- branches/2.3.2beta3/src/include/projectHelperThread.h (modified) (2 diffs)
- branches/2.3.2beta3/src/projectHelperThread.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.3.2beta3/src/include/projectHelperThread.h
r38 r210 15 15 */ 16 16 17 /** 18 * \file projectHelperThread.h 19 * Manages threads for project database updates. 20 * \author François Ingelrest 21 * \author Andrew Schofield 22 **/ 23 17 24 #ifndef _PROJECTHELPERTHREAD_H 18 25 #define _PROJECTHELPERTHREAD_H … … 23 30 24 31 /** 25 * When instanciated, this class: 26 * - Asks the ProjectsManager to update its database 27 * - Sends an EVT_PROJECTS_DATABASE_UPDATED event to the main dialog when done, if no error occurred 28 * 29 * This class should only be used by the ProjectsManager 30 **/ 32 * Manages threads for project database updates. 33 * When instanciated, this class: 34 * - Asks the ProjectsManager to update its database 35 * - Sends an EVT_PROJECTS_DATABASE_UPDATED event to the main dialog when done, if no error occurred 36 * 37 * This class should only be used by the ProjectsManager 38 **/ 31 39 class ProjectHelperThread : public wxThread 32 40 { 33 41 protected: 34 bool mIsForced; 35 bool mIsInSilentMode; 42 bool mIsForced; /**< Was the update forced? */ 43 bool mIsInSilentMode; /**< Should the update be verbose? */ 36 44 45 /** 46 * This is the entry point of the thread, where the database is updated. 47 **/ 37 48 void* Entry(void); 38 49 39 50 40 51 public: 52 /** 53 * Constructor. 54 * Contructs the thread launcher. 55 * @param isForced Was the update forced? 56 *@param isInSilentMode Should we be verbose? 57 **/ 41 58 ProjectHelperThread(bool isForced, bool isInSilentMode); 42 59 }; branches/2.3.2beta3/src/projectHelperThread.cpp
r148 r210 15 15 */ 16 16 17 /** 18 * \file projectHelperThread.cpp 19 * Manages threads for project database updates. 20 * \author François Ingelrest 21 * \author Andrew Schofield 22 **/ 23 17 24 #include "projectHelperThread.h" 18 25 #include "fahmon.h" … … 22 29 23 30 24 /**25 * Constructor26 **/27 31 ProjectHelperThread::ProjectHelperThread(bool isForced, bool isInSilentMode) : wxThread(wxTHREAD_DETACHED) 28 32 { … … 35 39 36 40 37 /**38 * This is the entry point of the thread, where the database is updated39 **/40 41 void* ProjectHelperThread::Entry(void) 41 42 {
