Add BoxArtManager for loading box art with caching
This commit is contained in:
parent
135568b5ee
commit
d7d11635a0
6 changed files with 168 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue