RhythmGame 1.4.3
Loading...
Searching...
No Matches
SongAssetImageProvider.h
Go to the documentation of this file.
1#ifndef RHYTHMGAME_SONGASSETIMAGEPROVIDER_H
2#define RHYTHMGAME_SONGASSETIMAGEPROVIDER_H
3
4#include <QQuickAsyncImageProvider>
5#include <QThreadPool>
6
7namespace resource_managers {
8
9class SongAssetStore;
10
11class SongAssetImageProvider final : public QQuickAsyncImageProvider
12{
13 public:
15 auto requestImageResponse(const QString& id, const QSize& requestedSize)
16 -> QQuickImageResponse* override;
17
18 private:
19 SongAssetStore* store;
20 QThreadPool threadPool;
21};
22
23} // namespace resource_managers
24
25#endif // RHYTHMGAME_SONGASSETIMAGEPROVIDER_H
Definition SongAssetImageProvider.h:12
auto requestImageResponse(const QString &id, const QSize &requestedSize) -> QQuickImageResponse *override
Definition SongAssetImageProvider.cpp:105
Definition SongAssetStore.h:28
Classes and functions related to loading and managing resources such as charts, sounds,...
Definition ProfileArenaIdentityProvider.h:12