RhythmGame 1.4.3
Loading...
Searching...
No Matches
SongDirectoryFilePathFetcher.h
Go to the documentation of this file.
1//
2// Created by bobini on 05.10.23.
3//
4
5#ifndef RHYTHMGAME_SONGDIRECTORYFILEPATHFETCHER_H
6#define RHYTHMGAME_SONGDIRECTORYFILEPATHFETCHER_H
7
8#include <QVariantHash>
9#include "db/SqliteCppDb.h"
10#include <string>
11namespace resource_managers {
12class SongAssetStore;
13}
14namespace qml_components {
15
16class SongDirectoryFilePathFetcher : public QObject
17{
18 Q_OBJECT
19
22
23 auto getFilePaths(QList<QString> directories,
24 const std::string& table) const -> QVariantHash;
25
26 public:
30 QObject* parent = nullptr);
38 Q_INVOKABLE QVariantHash
39 getPreviewFilePaths(QList<QString> directories) const;
40
48 Q_INVOKABLE QVariantHash
49 getReadmeFilePaths(QList<QString> directories) const;
50};
51
52} // namespace qml_components
53
54#endif // RHYTHMGAME_SONGDIRECTORYFILEPATHFETCHER_H
Database wrapper for SQLiteCpp.
Definition SqliteCppDb.h:30
Definition SongDirectoryFilePathFetcher.h:17
Q_INVOKABLE QVariantHash getPreviewFilePaths(QList< QString > directories) const
Fetches the preview file paths for the given directories.
Definition SongDirectoryFilePathFetcher.cpp:72
Q_INVOKABLE QVariantHash getReadmeFilePaths(QList< QString > directories) const
Fetches the readme file paths for the given directories.
Definition SongDirectoryFilePathFetcher.cpp:88
Definition SongAssetStore.h:28
Namespace for database related classes and functions.
Definition QtArenaRoundLoader.h:15
Contains classes that wrap some functionality for use in QML.
Definition ProfileArenaIdentityProvider.h:9
Classes and functions related to loading and managing resources such as charts, sounds,...
Definition ProfileArenaIdentityProvider.h:12