00001 00020 #ifndef __NEW_SIM_FILE_RDR_H__ 00021 #define __NEW_SIM_FILE_RDR_H__ 00022 00023 #include <glib.h> 00024 00025 extern "C" { 00026 #include "SaHpi.h" 00027 } 00028 00029 #ifndef __NEW_SIM_FILE_UTIL_H__ 00030 #include "new_sim_file_util.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 00046 class NewSimulatorFileRdr : public NewSimulatorFileUtil { 00047 protected: 00049 int m_depth; 00051 SaHpiRdrT m_rdr; 00052 00053 00054 public: 00055 NewSimulatorFileRdr(GScanner *scanner); 00056 virtual ~NewSimulatorFileRdr(); 00057 00058 bool process_rdr_token( void ); 00060 virtual NewSimulatorRdr * process_token( NewSimulatorResource *res ) = 0; 00061 }; 00062 00063 00064 #endif /*__NEW_SIM_FILE_RDR_H__*/