2020-09-20 01:21:28 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <borealis.hpp>
|
|
|
|
#include <switch.h>
|
|
|
|
#include "utils.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
#include <fstream>
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
|
|
#include "worker_page.hpp"
|
|
|
|
#include "confirm_page.hpp"
|
2021-02-06 17:24:47 +00:00
|
|
|
#include "download_cheats_page.hpp"
|
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
|
|
|
|
|
|
|
|
|
|
|
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-02-06 17:24:47 +00:00
|
|
|
AppPage(bool cheatSlips = false);
|
2020-09-20 01:21:28 +01:00
|
|
|
};
|