mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-25 02:52:05 +00:00
20 lines
No EOL
399 B
C++
20 lines
No EOL
399 B
C++
#pragma once
|
|
|
|
#include <borealis.hpp>
|
|
|
|
#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(unsigned char* ip);
|
|
int stringToIp(std::string ip, unsigned char* out);
|
|
|
|
}; |