mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
973d8b2005
*Converted every 4 spaces to a tab to make the source consistent on those
39 lines
1014 B
C++
39 lines
1014 B
C++
/****************************************************************************
|
|
* HomebrewXML Class
|
|
* for USB Loader GX
|
|
***************************************************************************/
|
|
#ifndef ___HOMEBREWXML_H_
|
|
#define ___HOMEBREWXML_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class HomebrewXML
|
|
{
|
|
public:
|
|
HomebrewXML() { };
|
|
HomebrewXML(const char* filename) { LoadHomebrewXMLData(filename); };
|
|
|
|
int LoadHomebrewXMLData(const char* filename);
|
|
|
|
const char * GetName() const;
|
|
void SetName(char * newName);
|
|
const char * GetCoder() const;
|
|
const char * GetVersion() const;
|
|
const char * GetReleasedate() const;
|
|
const char * GetShortDescription() const;
|
|
const char * GetLongDescription() const;
|
|
const std::vector<std::string> & GetArguments() const { return Arguments; };
|
|
|
|
protected:
|
|
std::string Name;
|
|
std::string Coder;
|
|
std::string Version;
|
|
std::string Releasedate;
|
|
std::string ShortDescription;
|
|
std::string LongDescription;
|
|
std::vector<std::string> Arguments;
|
|
};
|
|
|
|
#endif
|