usbloadergx/source/homebrewboot/HomebrewXML.h

36 lines
981 B
C
Raw Normal View History

/****************************************************************************
* HomebrewXML Class
* for USB Loader GX
***************************************************************************/
#ifndef ___HOMEBREWXML_H_
#define ___HOMEBREWXML_H_
#include <string>
class HomebrewXML
{
public:
HomebrewXML() { };
HomebrewXML(const char* filename) { LoadHomebrewXMLData(filename); };
2010-09-24 02:48:03 +02:00
int LoadHomebrewXMLData(const char* filename);
const char * GetName() const;
2010-09-24 02:48:03 +02:00
void SetName(char * newName);
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
protected:
std::string Name;
std::string Coder;
std::string Version;
std::string Releasedate;
std::string ShortDescription;
std::string LongDescription;
};
#endif