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-11-14 16:19:42 +01:00
|
|
|
HomebrewXML() { };
|
|
|
|
HomebrewXML(const char* filename) { LoadHomebrewXMLData(filename); };
|
2010-09-24 02:48:03 +02:00
|
|
|
|
|
|
|
int LoadHomebrewXMLData(const char* filename);
|
|
|
|
|
2010-10-24 21:08:03 +02:00
|
|
|
const char * GetName() const;
|
2010-09-24 02:48:03 +02:00
|
|
|
void SetName(char * newName);
|
2010-10-24 21:08:03 +02:00
|
|
|
const char * GetCoder() const;
|
|
|
|
const char * GetVersion() const;
|
|
|
|
const char * GetReleasedate() const;
|
|
|
|
const char * GetShortDescription() const;
|
|
|
|
const char * GetLongDescription() const;
|
2010-09-24 02:48:03 +02:00
|
|
|
|
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
|