GrafX2 2.9.3227
The ultimate 256-color painting program
SDLMain.m File Reference
#import <SDL/SDL.h>
#import <sys/param.h>
#import <unistd.h>
#import "SDLMain.h"
+ Include dependency graph for SDLMain.m:

Data Structures

category  NSApplication(SDL_Missing_Methods)
 
struct  CPSProcessSerNum
 
class  SDLApplication
 

Macros

#define SDL_USE_NIB_FILE   0
 
#define SDL_USE_CPS   1
 

Functions

OSErr CPSGetCurrentProcess (CPSProcessSerNum *psn)
 
OSErr CPSEnableForegroundOperation (CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5)
 
OSErr CPSSetFrontProcess (CPSProcessSerNum *psn)
 
static NSString * getApplicationName (void)
 
int main (int argc, char **argv)
 
const char * get_paste_board (void)
 
char * getMacosUserFolder (void)
 

Variables

static int gArgc
 
static char ** gArgv
 
static BOOL gFinderLaunch
 
static BOOL gCalledAppMainline = FALSE
 
BOOL enableKeys = FALSE
 

Macro Definition Documentation

◆ SDL_USE_NIB_FILE

#define SDL_USE_NIB_FILE   0

◆ SDL_USE_CPS

#define SDL_USE_CPS   1

Function Documentation

◆ CPSGetCurrentProcess()

OSErr CPSGetCurrentProcess ( CPSProcessSerNum psn)

◆ CPSEnableForegroundOperation()

OSErr CPSEnableForegroundOperation ( CPSProcessSerNum psn,
UInt32  _arg2,
UInt32  _arg3,
UInt32  _arg4,
UInt32  _arg5 
)

◆ CPSSetFrontProcess()

OSErr CPSSetFrontProcess ( CPSProcessSerNum psn)

◆ getApplicationName()

static NSString * getApplicationName ( void  )
static

◆ main()

int main ( int  argc,
char **  argv 
)

References gArgc, gArgv, gFinderLaunch, and NULL.

◆ get_paste_board()

const char * get_paste_board ( void  )

Referenced by GFX2_GetTextClipboard().

◆ getMacosUserFolder()

char * getMacosUserFolder ( void  )

Referenced by Init_program().

Variable Documentation

◆ gArgc

int gArgc
static

Referenced by main().

◆ gArgv

char** gArgv
static

Referenced by main().

◆ gFinderLaunch

BOOL gFinderLaunch
static

Referenced by main().

◆ gCalledAppMainline

BOOL gCalledAppMainline = FALSE
static

◆ enableKeys

BOOL enableKeys = FALSE