mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-09 12:01:44 +00:00
27 lines
No EOL
678 B
C++
27 lines
No EOL
678 B
C++
#pragma once
|
|
|
|
#include <borealis.hpp>
|
|
#include <json.hpp>
|
|
|
|
#include "constants.hpp"
|
|
|
|
class ListDownloadTab : public brls::List
|
|
{
|
|
private:
|
|
brls::ListItem* listItem;
|
|
nlohmann::ordered_json nxlinks;
|
|
std::string currentCheatsVer = "";
|
|
std::string newCheatsVer = "";
|
|
contentType type;
|
|
void createList();
|
|
void createList(contentType type);
|
|
void createCheatSlipItem();
|
|
void createGbatempItem();
|
|
void createGfxItem();
|
|
void setDescription();
|
|
void setDescription(contentType type);
|
|
void displayNotFound();
|
|
|
|
public:
|
|
ListDownloadTab(const contentType type, const nlohmann::ordered_json& nxlinks = nlohmann::ordered_json::object());
|
|
}; |