mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-01 05:42:02 +00:00
19 lines
No EOL
359 B
C++
19 lines
No EOL
359 B
C++
#pragma once
|
|
|
|
#include <borealis.hpp>
|
|
|
|
constexpr int AF_INET = 2;
|
|
|
|
class NetPage : public brls::AppletFrame
|
|
{
|
|
private:
|
|
brls::List* list;
|
|
brls::Label* label;
|
|
brls::ListItem* listItem;
|
|
brls::ListItem* cancel;
|
|
|
|
public:
|
|
NetPage();
|
|
std::string ipToString(unsigned char* ip);
|
|
int stringToIp(const std::string& ip, unsigned char* out);
|
|
}; |