mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-09-20 22:32:09 +02:00
21 lines
468 B
C++
21 lines
468 B
C++
#pragma once
|
|
#include <memory>
|
|
#include "romBrowser/SdFolder.h"
|
|
#include "themes/ThemeInfo.h"
|
|
#include "themes/ThemeInfoFactory.h"
|
|
|
|
class ThemeRepository
|
|
{
|
|
public:
|
|
void Initialize();
|
|
|
|
u32 GetThemeCount() const;
|
|
std::unique_ptr<ThemeInfo> LoadThemeInfo(u32 themeIndex) const;
|
|
|
|
private:
|
|
ThemeInfoFactory _themeInfoFactory;
|
|
std::unique_ptr<SdFolder> _themesFolder;
|
|
u32 _numberOfThemes = 0;
|
|
std::unique_ptr<const FileInfo*[]> _themeFolders;
|
|
};
|