libgui
2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
Loading...
Searching...
No Matches
GameCubeNetwork.h
1
/****************************************************************************
2
* Platform Abstraction Layer (OGC driver)
3
* Daryl Borth 2026
4
* GameCubeNetwork.h
5
*
6
* GameCube network interface bring-up
7
*
8
* ensureUp() re-validates the network is actually still up on every call
9
* rather than trusting a cached flag. Bring-up is synchronous (if_config)
10
***************************************************************************/
11
#pragma once
12
15
class
GameCubeNetwork
16
{
17
public
:
23
static
bool
ensureUp
();
24
26
static
bool
isUp
();
27
29
static
void
shutdown
() {}
30
};
GameCubeNetwork
GameCube network bring-up for the Broadband Adapter (synchronous if_config).
Definition
GameCubeNetwork.h:16
GameCubeNetwork::shutdown
static void shutdown()
No-op on GameCube.
Definition
GameCubeNetwork.h:29
GameCubeNetwork::isUp
static bool isUp()
Non-blocking: true if the console currently has a usable IP.
Definition
GameCubeNetwork.cpp:10
GameCubeNetwork::ensureUp
static bool ensureUp()
Brings the network interface up if it isn't already, or confirms it's still alive if it is.
Definition
GameCubeNetwork.cpp:15
source
drivers
ogc
gamecube
GameCubeNetwork.h
Generated by
1.13.2