RhythmGame
1.4.3
Loading...
Searching...
No Matches
src
resource_managers
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
7
namespace
resource_managers
{
8
9
class
SongAssetStore;
10
11
class
SongAssetImageProvider
final :
public
QQuickAsyncImageProvider
12
{
13
public
:
14
explicit
SongAssetImageProvider
(
SongAssetStore
* store);
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
resource_managers::SongAssetImageProvider
Definition
SongAssetImageProvider.h:12
resource_managers::SongAssetImageProvider::requestImageResponse
auto requestImageResponse(const QString &id, const QSize &requestedSize) -> QQuickImageResponse *override
Definition
SongAssetImageProvider.cpp:105
resource_managers::SongAssetStore
Definition
SongAssetStore.h:28
resource_managers
Classes and functions related to loading and managing resources such as charts, sounds,...
Definition
ProfileArenaIdentityProvider.h:12
Generated by
1.9.8