The Battle for Wesnoth  1.19.7+dev
Classes | Macros | Functions | Variables
SDLMain.mm File Reference
#import "SDL.h"
#import "SDLMain.h"
#include <vector>
Include dependency graph for SDLMain.mm:

Go to the source code of this file.

Classes

class  WesnothSDLApplication
 

Macros

#define NSEventTypeKeyDown   NSKeyDown
 
#define NSEventTypeKeyUp   NSKeyUp
 
#define NSEventModifierFlagCommand   NSCommandKeyMask
 

Functions

int wesnoth_main (int argc, char **argv)
 
template<int sz>
bool str_eq (const char *str, const char(&cstr)[sz])
 
int main (int argc, char **argv)
 

Variables

static std::vector< char * > gArgs
 

Macro Definition Documentation

◆ NSEventModifierFlagCommand

#define NSEventModifierFlagCommand   NSCommandKeyMask

Definition at line 28 of file SDLMain.mm.

◆ NSEventTypeKeyDown

#define NSEventTypeKeyDown   NSKeyDown

Definition at line 26 of file SDLMain.mm.

◆ NSEventTypeKeyUp

#define NSEventTypeKeyUp   NSKeyUp

Definition at line 27 of file SDLMain.mm.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 123 of file SDLMain.mm.

◆ str_eq()

template<int sz>
bool str_eq ( const char *  str,
const char(&)  cstr[sz] 
)

Definition at line 114 of file SDLMain.mm.

Referenced by SDLMain::openChangelog:.

◆ wesnoth_main()

int wesnoth_main ( int  argc,
char **  argv 
)

Variable Documentation

◆ gArgs

std::vector<char*> gArgs
static

Definition at line 32 of file SDLMain.mm.

Referenced by SDLMain::openChangelog:.