Added genre type. Fixed invalid error where folders starting with _ were treated as actual collections.

This commit is contained in:
emb
2015-02-27 23:16:47 -06:00
parent c7dccd7109
commit a9dbc4e004
9 changed files with 68 additions and 28 deletions

View File

@@ -63,6 +63,16 @@ void Item::SetManufacturer(const std::string& manufacturer)
Manufacturer = manufacturer;
}
const std::string& Item::GetGenre() const
{
return Genre;
}
void Item::SetGenre(const std::string& genre)
{
Genre = genre;
}
const std::string& Item::GetName() const
{
return Name;

View File

@@ -29,6 +29,8 @@ public:
void SetLauncher(const std::string& launcher);
const std::string& GetManufacturer() const;
void SetManufacturer(const std::string& manufacturer);
const std::string& GetGenre() const;
void SetGenre(const std::string& genre);
const std::string& GetName() const;
void SetName(const std::string& name);
void SetNumberButtons(std::string numberbuttons);
@@ -56,6 +58,7 @@ private:
std::string FullTitle;
std::string Year;
std::string Manufacturer;
std::string Genre;
std::string CloneOf;
std::string NumberPlayers;
std::string NumberButtons;