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

19 lines
359 B
C++
Raw Normal View History

2021-09-11 14:48:13 +01:00
#pragma once
#include <borealis.hpp>
constexpr int AF_INET = 2;
class NetPage : public brls::AppletFrame
{
2021-09-11 14:48:13 +01:00
private:
brls::List* list;
brls::Label* label;
brls::ListItem* listItem;
brls::ListItem* cancel;
2021-09-11 14:48:13 +01:00
public:
NetPage();
std::string ipToString(unsigned char* ip);
int stringToIp(const std::string& ip, unsigned char* out);
};