1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-14 14:06:53 +00:00
AIO-switch-updater/include/net_page.hpp

28 lines
545 B
C++
Raw Normal View History

#pragma once
#include <borealis.hpp>
#include <switch.h>
#include <json.hpp>
#include "constants.hpp"
#include "main_frame.hpp"
#include <fstream>
#include <filesystem>
#include <tuple>
#include <iomanip>
#define AF_INET 2
class NetPage : public brls::AppletFrame
{
private:
brls::List* list;
brls::Label* label;
std::vector<brls::ListItem*> listItems;
brls::ListItem* cancel;
public:
NetPage();
std::string ipToString(u8* ip);
int stringToIp(std::string ip, u8* out);
};