2009-09-30 23:10:58 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* HomebrewXML Class
|
|
|
|
* for USB Loader GX
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef ___HOMEBREWXML_H_
|
|
|
|
#define ___HOMEBREWXML_H_
|
|
|
|
|
2010-09-17 16:15:18 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class HomebrewXML
|
|
|
|
{
|
|
|
|
public:
|
2010-11-14 15:19:42 +00:00
|
|
|
HomebrewXML() { };
|
|
|
|
HomebrewXML(const char* filename) { LoadHomebrewXMLData(filename); };
|
2010-09-24 00:48:03 +00:00
|
|
|
|
|
|
|
int LoadHomebrewXMLData(const char* filename);
|
|
|
|
|
2010-10-24 19:08:03 +00:00
|
|
|
const char * GetName() const;
|
2010-09-24 00:48:03 +00:00
|
|
|
void SetName(char * newName);
|
2010-10-24 19:08:03 +00:00
|
|
|
const char * GetCoder() const;
|
|
|
|
const char * GetVersion() const;
|
|
|
|
const char * GetReleasedate() const;
|
|
|
|
const char * GetShortDescription() const;
|
|
|
|
const char * GetLongDescription() const;
|
2010-09-24 00:48:03 +00:00
|
|
|
|
2010-09-17 16:15:18 +00:00
|
|
|
protected:
|
|
|
|
std::string Name;
|
|
|
|
std::string Coder;
|
|
|
|
std::string Version;
|
|
|
|
std::string Releasedate;
|
|
|
|
std::string ShortDescription;
|
|
|
|
std::string LongDescription;
|
2009-09-30 23:10:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|