2020-09-20 01:21:28 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <borealis.hpp>
|
|
|
|
#include <algorithm>
|
2021-02-10 16:28:47 +00:00
|
|
|
#include <set>
|
2020-09-20 01:21:28 +01:00
|
|
|
|
2020-09-26 15:55:24 +01:00
|
|
|
typedef struct app App;
|
2020-09-20 01:21:28 +01:00
|
|
|
|
2021-06-05 18:10:51 +01:00
|
|
|
enum class appPageType{
|
|
|
|
base,
|
|
|
|
cheatSlips,
|
|
|
|
gbatempCheats
|
|
|
|
};
|
2020-09-20 01:21:28 +01:00
|
|
|
|
|
|
|
class AppPage : public brls::AppletFrame
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
brls::List* list;
|
|
|
|
brls::Label* label;
|
|
|
|
brls::ListItem* download;
|
2021-02-06 17:24:47 +00:00
|
|
|
brls::ListItem* listItem;
|
2020-09-20 01:21:28 +01:00
|
|
|
std::vector<App*> apps;
|
|
|
|
std::set<std::string> titles;
|
|
|
|
|
|
|
|
public:
|
2021-06-05 18:10:51 +01:00
|
|
|
AppPage(const appPageType type = appPageType::base);
|
2020-09-20 01:21:28 +01:00
|
|
|
};
|