Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
main.cpp File Reference
#include <csignal>
#include <iostream>
#include "core/App.hpp"
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static void onInterrupt (int)
 
int main (int argc, char **argv)
 

Variables

volatile sig_atomic_t g_interrupted = 0
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 10 of file main.cpp.

References App::exitCode(), onInterrupt(), App::run(), and App::shouldRun().

+ Here is the call graph for this function:

◆ onInterrupt()

static void onInterrupt ( int  )
static

Definition at line 8 of file main.cpp.

References g_interrupted.

Referenced by main().

+ Here is the caller graph for this function:

Variable Documentation

◆ g_interrupted

volatile sig_atomic_t g_interrupted = 0

Definition at line 6 of file main.cpp.

Referenced by App::_connectWithRetry(), onInterrupt(), and App::run().