Add additional serverinfo attributes and check for 4K compatibility

This commit is contained in:
Cameron Gutman
2018-07-08 20:53:24 -07:00
parent d0375a458a
commit 5a04a256e0
6 changed files with 97 additions and 18 deletions
+19
View File
@@ -27,6 +27,21 @@ public:
Q_DECLARE_METATYPE(NvApp)
class NvDisplayMode
{
public:
bool operator==(const NvDisplayMode& other) const
{
return width == other.width &&
height == other.height &&
refreshRate == other.refreshRate;
}
int width;
int height;
int refreshRate;
};
class GfeHttpResponseException : public std::exception
{
public:
@@ -117,6 +132,10 @@ public:
QImage
getBoxArt(int appId);
static
QVector<NvDisplayMode>
getDisplayModeList(QString serverInfo);
QUrl m_BaseUrlHttp;
QUrl m_BaseUrlHttps;
private: