mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-01 05:42:02 +00:00
41 lines
No EOL
775 B
C++
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();
|
|
}; |