mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-09-18 13:12:33 +02:00
Add support for custom BMP icons and custom NDS banners for games and folders. Closes #53 and Closes #62
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
#pragma once
|
||||
#include "ICoverRepository.h"
|
||||
#include "SdFolder.h"
|
||||
#include "RepositoryBase.h"
|
||||
|
||||
class CoverRepository : public ICoverRepository
|
||||
class CoverRepository : public RepositoryBase, public ICoverRepository
|
||||
{
|
||||
public:
|
||||
void Initialize() override;
|
||||
FileCover* GetCoverForFile(
|
||||
const FileInfo& fileInfo, const InternalFileInfo* internalFileInfo) const override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<SdFolder> _ndsCoversFolder;
|
||||
std::unique_ptr<SdFolder> _gbaCoversFolder;
|
||||
std::unique_ptr<SdFolder> _userCoversFolder;
|
||||
|
||||
const SdFolder* GetCoverFolder(const char* coverFolderName) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user