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