mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Add additional serverinfo attributes and check for 4K compatibility
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user