mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Add BoxArtManager for loading box art with caching
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include "http/computermanager.h"
|
||||
#include "http/boxartmanager.h"
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QtWidgets>
|
||||
|
||||
@@ -21,10 +24,13 @@ private slots:
|
||||
void on_newHostBtn_clicked();
|
||||
void addHostToDisplay(QMap<QString, bool>);
|
||||
void on_selectHostComboBox_activated(const QString &);
|
||||
void computerStateChanged(NvComputer* computer);
|
||||
void boxArtLoadComplete(NvComputer* computer, NvApp app, QImage image);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
|
||||
BoxArtManager m_BoxArtManager;
|
||||
ComputerManager m_ComputerManager;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user