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