1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-08 19:41:49 +00:00
AIO-switch-updater/include/app_page.hpp
2020-09-20 02:21:28 +02:00

41 lines
No EOL
775 B
C++

#pragma once
#include <borealis.hpp>
#include <switch.h>
#include <cstring>
#include "utils.hpp"
#include <filesystem>
#include <fstream>
#include <iostream>
#include <algorithm>
#include "worker_page.hpp"
#include "confirm_page.hpp"
#define PROFILE_BADGE "\uE3E0"
typedef char NsApplicationName[0x201];
typedef uint8_t NsApplicationIcon[0x20000];
typedef struct
{
uint64_t tid;
NsApplicationName name;
NsApplicationIcon icon;
brls::ListItem* listItem;
} App;
class AppPage : public brls::AppletFrame
{
private:
brls::List* list;
brls::Label* label;
brls::ListItem* download;
std::vector<App*> apps;
std::set<std::string> titles;
std::vector<brls::ListItem*> items;
public:
AppPage();
};