00001 //----------------------------------------------------------------------------------------
00011 //----------------------------------------------------------------------------------------
00012
00013 //----------------------------------------------------------------------------------------
00014 // Begin single inclusion of this .h file condition
00015 //----------------------------------------------------------------------------------------
00016
00017 #ifndef _OS_MSW_H_
00018 #define _OS_MSW_H_
00019
00020 //----------------------------------------------------------------------------------------
00021 // Shared defines
00022 //----------------------------------------------------------------------------------------
00023
00024 #include "plucker_defines.h"
00025
00026 //----------------------------------------------------------------------------------------
00027 // Begin OS removal condition
00028 //----------------------------------------------------------------------------------------
00029
00030 #ifdef __WXMSW__
00031
00032 //----------------------------------------------------------------------------------------
00033 // Class definition: os_msw
00034 //----------------------------------------------------------------------------------------
00035
00037 class os_msw
00038 {
00039
00040 public:
00041
00043
00046 static wxString get_pluckerhome_from_registry();
00047
00048 #if ( setupUSE_MSW_ENHANCED_PROCESS_KILLING )
00049
00050
00069 static int kill_properly( long pid,
00070 wxSignal sig,
00071 wxKillError *krc
00072 );
00073 #endif // setupUSE_MSW_ENHANCED_PROCESS_KILLING
00074
00075 private:
00076
00077 #if ( setupUSE_MSW_ENHANCED_PROCESS_KILLING )
00078
00079
00091 static BOOL best_terminate_process( HANDLE process_handle,
00092 UINT exit_code
00093 );
00094 #endif // setupUSE_MSW_ENHANCED_PROCESS_KILLING
00095
00096 };
00097
00098 //----------------------------------------------------------------------------------------
00099 // End OS removal condition
00100 //----------------------------------------------------------------------------------------
00101
00102 #endif // __WXMSW__
00103
00104 //----------------------------------------------------------------------------------------
00105 // End single inclusion of this .h file condition
00106 //----------------------------------------------------------------------------------------
00107
00108 #endif //_OS_MSW_H_