Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
SDLMain.mm File Reference
#import "SDL/SDL.h"
#import "SDLMain.h"
#import <sys/param.h>
#import <unistd.h>
#import "platform/darwin/osx/CocoaInterface.h"
#import "PlatformDefs.h"
#import "messaging/ApplicationMessenger.h"
#import "platform/darwin/osx/storage/DarwinStorageProvider.h"
#import "platform/darwin/osx/HotKeyController.h"

Classes

category  NSApplication(SDL_Missing_Methods)
 
struct  CPSProcessSerNum
 
class  XBMCApplication
 

Macros

#define SDL_USE_CPS   1
 
#define VK_SLEEP   0x143
 
#define VK_VOLUME_MUTE   0xAD
 
#define VK_VOLUME_DOWN   0xAE
 
#define VK_VOLUME_UP   0xAF
 
#define VK_MEDIA_NEXT_TRACK   0x9E
 
#define VK_MEDIA_PREV_TRACK   0x9D
 
#define VK_MEDIA_STOP   0xB2
 
#define VK_MEDIA_PLAY_PAUSE   0xB3
 
#define VK_REWIND   0xB1
 
#define VK_FAST_FWD   0xB0
 

Typedefs

typedef struct CPSProcessSerNum CPSProcessSerNum
 

Functions

OSErr CPSGetCurrentProcess (CPSProcessSerNum *psn)
 
OSErr CPSEnableForegroundOperation (CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5)
 
OSErr CPSSetFrontProcess (CPSProcessSerNum *psn)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ SDL_USE_CPS

#define SDL_USE_CPS   1

◆ VK_FAST_FWD

#define VK_FAST_FWD   0xB0

◆ VK_MEDIA_NEXT_TRACK

#define VK_MEDIA_NEXT_TRACK   0x9E

◆ VK_MEDIA_PLAY_PAUSE

#define VK_MEDIA_PLAY_PAUSE   0xB3

◆ VK_MEDIA_PREV_TRACK

#define VK_MEDIA_PREV_TRACK   0x9D

◆ VK_MEDIA_STOP

#define VK_MEDIA_STOP   0xB2

◆ VK_REWIND

#define VK_REWIND   0xB1

◆ VK_SLEEP

#define VK_SLEEP   0x143

◆ VK_VOLUME_DOWN

#define VK_VOLUME_DOWN   0xAE

◆ VK_VOLUME_MUTE

#define VK_VOLUME_MUTE   0xAD

◆ VK_VOLUME_UP

#define VK_VOLUME_UP   0xAF

Typedef Documentation

◆ CPSProcessSerNum

Function Documentation

◆ CPSEnableForegroundOperation()

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

◆ CPSGetCurrentProcess()

OSErr CPSGetCurrentProcess ( CPSProcessSerNum psn)

◆ CPSSetFrontProcess()

OSErr CPSSetFrontProcess ( CPSProcessSerNum psn)

◆ main()

int main ( int  argc,
char *  argv[] 
)