// $Id: RomInfo.hh 5892 2006-11-20 12:39:29Z m9710797 $ #ifndef ROMINFO_HH #define ROMINFO_HH #include "RomTypes.hh" #include #include namespace openmsx { class CliComm; class RomInfo { public: RomInfo(const std::string& id, const std::string& year, const std::string& company, const std::string& country, bool original, const std::string& origType, const std::string& remark, const RomType& romType); const std::string& getTitle() const { return title; } const std::string& getYear() const { return year; } const std::string& getCompany() const { return company; } const std::string& getCountry() const { return country; } bool getOriginal() const { return original; } const std::string& getOrigType() const { return origType; } const std::string& getRemark() const { return remark; } const RomType& getRomType() const { return romType; } void print(CliComm& cliComm) const; static RomType nameToRomType(std::string name); static void getAllRomTypes(std::set& result); private: const std::string title; const std::string year; const std::string company; const std::string country; const bool original; const std::string origType; const std::string remark; const RomType romType; }; } // namespace openmsx #endif