00001 00020 #ifndef __NEW_SIM_FILE_ANNUNCIATOR_H__ 00021 #define __NEW_SIM_FILE_ANNUNCIATOR_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_ANNUNCIATOR_H__ 00042 #include "new_sim_annunciator.h" 00043 #endif 00044 00050 class NewSimulatorFileAnnunciator : public NewSimulatorFileRdr { 00051 private: 00053 SaHpiAnnunciatorRecT *m_ann_rec; 00054 00055 bool process_annunciator_data( NewSimulatorAnnunciator *ann ); 00056 bool process_announcement(SaHpiAnnouncementT *announce); 00057 bool process_announce_condition(SaHpiConditionT *cond); 00058 bool process_name( SaHpiNameT &name ); 00059 00060 public: 00061 NewSimulatorFileAnnunciator(GScanner *scanner); 00062 virtual ~NewSimulatorFileAnnunciator(); 00063 virtual NewSimulatorRdr * process_token(NewSimulatorResource *res); 00064 00065 }; 00066 00067 #endif /*__NEW_SIM_FILE_ANNUNCIATOR_H_*/