mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-12 22:45:08 +01:00
64f448bc7f
if boot.dol was on USB (Thanks Badablek) * Added Auto-edition of meta.xml arguments based on internal user settings. * Added support for meta.xml arguments when rebooting the loader. Nintendont : * Added support for v1.20+ * Fixed launching Gamecube in FST format with nintendont (Thank VashTS)
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
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);
|
|
int SaveHomebrewXMLData(const char* filename);
|
|
|
|
const char * GetName() const;
|
|
void SetName(char * newName);
|
|
const char * GetCoder() const;
|
|
const char * GetVersion() const;
|
|
void SetVersion(const char * newVer);
|
|
const char * GetReleasedate() const;
|
|
const char * GetShortDescription() const;
|
|
const char * GetLongDescription() const;
|
|
const std::vector<std::string> & GetArguments() const { return Arguments; };
|
|
void SetArgument(const char* argument);
|
|
|
|
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
|