Move GetCompany() to ISOFile.h/GameFile.h

For consistency with the other Get methods.
This commit is contained in:
JosJuice 2015-06-13 18:43:10 +02:00
parent 4042945ee5
commit 01e324eed0
4 changed files with 2 additions and 12 deletions

View File

@ -247,11 +247,6 @@ QString GameFile::CreateCacheFilename()
return fullname;
}
QString GameFile::GetCompany() const
{
return m_company;
}
QString GameFile::GetDescription(DiscIO::IVolume::ELanguage language) const
{
return GetLanguageString(language, m_descriptions);

View File

@ -26,7 +26,7 @@ public:
QString GetName(bool prefer_long) const;
QString GetDescription(DiscIO::IVolume::ELanguage language) const;
QString GetDescription() const;
QString GetCompany() const;
QString GetCompany() const { return m_company; }
u16 GetRevision() const { return m_revision; }
const QString GetUniqueID() const { return m_unique_id; }
const QString GetWiiFSPath() const;

View File

@ -201,11 +201,6 @@ std::string GameListItem::CreateCacheFilename()
return fullname;
}
std::string GameListItem::GetCompany() const
{
return m_company;
}
std::string GameListItem::GetDescription(DiscIO::IVolume::ELanguage language) const
{
return GetLanguageString(language, m_descriptions);

View File

@ -30,7 +30,7 @@ public:
std::string GetDescription(DiscIO::IVolume::ELanguage language) const;
std::string GetDescription() const;
std::vector<DiscIO::IVolume::ELanguage> GetLanguages() const;
std::string GetCompany() const;
std::string GetCompany() const { return m_company; }
u16 GetRevision() const { return m_Revision; }
const std::string& GetUniqueID() const {return m_UniqueID;}
const std::string GetWiiFSPath() const;