Merge pull request #2603 from JosJuice/move-getcompany

Move GetCompany() to ISOFile.h/GameFile.h
This commit is contained in:
Matthew Parlane 2015-06-14 15:16:20 +10:00
commit 2d8fdb791e
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;