mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-05 19:15:07 +01:00
fab8e625ad
raise the coder to char[100] because we have a shitload of names on there add param int t=0 to the get entries function to force getting all games and ignore settings and parental control fix bug that code dumped if you didn't have the database.txt for the channel names
42 lines
1.3 KiB
C++
42 lines
1.3 KiB
C++
/****************************************************************************
|
|
* HomebrewXML Class
|
|
* for USB Loader GX
|
|
***************************************************************************/
|
|
#ifndef ___HOMEBREWXML_H_
|
|
#define ___HOMEBREWXML_H_
|
|
|
|
class HomebrewXML
|
|
{
|
|
public:
|
|
//!Constructor
|
|
//!\param path Path for the xml file
|
|
HomebrewXML();
|
|
//!Destructor
|
|
~HomebrewXML();
|
|
//!\param filename Filepath of the XML file
|
|
int LoadHomebrewXMLData(const char* filename);
|
|
//! Get name
|
|
char * GetName() { return name; }
|
|
//! Get coder
|
|
char * GetCoder() { return coder; }
|
|
//! Get version
|
|
char * GetVersion() { return version; }
|
|
//! Get releasedate
|
|
char * GetReleasedate() { return releasedate; }
|
|
//! Get shortdescription
|
|
char * GetShortDescription() { return shortdescription; }
|
|
//! Get longdescription
|
|
char * GetLongDescription() { return longdescription; }
|
|
//! Set Name
|
|
void SetName(char * path) { strncpy(name, path, sizeof(name)); }
|
|
protected:
|
|
char name[50];
|
|
char coder[100];
|
|
char version[30];
|
|
char releasedate[30];
|
|
char shortdescription[150];
|
|
char longdescription[500];
|
|
};
|
|
|
|
#endif
|