2020-09-20 02:21:28 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <borealis.hpp>
|
2021-09-15 17:23:37 +02:00
|
|
|
#include <json.hpp>
|
2021-09-11 15:48:13 +02:00
|
|
|
|
2021-02-10 17:28:47 +01:00
|
|
|
#include "constants.hpp"
|
2020-09-20 02:21:28 +02:00
|
|
|
|
|
|
|
class ListDownloadTab : public brls::List
|
|
|
|
{
|
2021-09-11 15:48:13 +02:00
|
|
|
private:
|
|
|
|
brls::ListItem* listItem;
|
2021-09-27 21:56:41 +02:00
|
|
|
nlohmann::ordered_json nxlinks;
|
|
|
|
std::string currentCheatsVer = "";
|
|
|
|
std::string newCheatsVer = "";
|
|
|
|
contentType type;
|
2021-09-11 15:48:13 +02:00
|
|
|
int size = 0;
|
2021-10-21 23:12:29 +02:00
|
|
|
void createList();
|
2021-09-27 21:56:41 +02:00
|
|
|
void createList(contentType type);
|
2021-09-11 15:48:13 +02:00
|
|
|
void createCheatSlipItem();
|
|
|
|
void creategbatempItem();
|
2021-09-27 21:56:41 +02:00
|
|
|
void setDescription();
|
2021-10-21 23:12:29 +02:00
|
|
|
void setDescription(contentType type);
|
2021-09-27 21:56:41 +02:00
|
|
|
void displayNotFound();
|
2021-03-10 21:43:00 +01:00
|
|
|
|
2021-09-11 15:48:13 +02:00
|
|
|
public:
|
2021-09-27 21:56:41 +02:00
|
|
|
ListDownloadTab(const contentType type, const nlohmann::ordered_json& nxlinks = nlohmann::ordered_json::object());
|
2020-09-20 02:21:28 +02:00
|
|
|
};
|