00001 00020 #ifndef __NEW_SIM_FILE_WATCHDOG_H__ 00021 #define __NEW_SIM_FILE_WATCHDOG_H__ 00022 00023 #include <glib.h> 00024 00025 extern "C" { 00026 #include "SaHpi.h" 00027 } 00028 00029 #ifndef __NEW_SIM_FILE_RDR_H__ 00030 #include "new_sim_file_rdr.h" 00031 #endif 00032 00033 #ifndef __NEW_SIM_RDR_H__ 00034 #include "new_sim_rdr.h" 00035 #endif 00036 00037 #ifndef __NEW_SIM_RESOURCE_H__ 00038 #include "new_sim_resource.h" 00039 #endif 00040 00041 #ifndef __NEW_SIM_WATCHDOG_H__ 00042 #include "new_sim_watchdog.h" 00043 #endif 00044 00050 class NewSimulatorFileWatchdog : public NewSimulatorFileRdr { 00051 private: 00053 SaHpiWatchdogRecT *m_wdt_rec; 00055 SaHpiWatchdogT m_data; 00056 00057 bool process_watchdog_data(); 00058 00059 public: 00060 NewSimulatorFileWatchdog(GScanner *scanner); 00061 virtual ~NewSimulatorFileWatchdog(); 00062 virtual NewSimulatorRdr * process_token(NewSimulatorResource *res); 00063 00064 }; 00065 00066 #endif /*__NEW_SIM_FILE_WATCHDOG_H_*/