Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
XBMCApplication.mm File Reference
#import <UIKit/UIKit.h>
#import <AVFoundation/AVAudioSession.h>
#import "XBMCApplication.h"
#import "XBMCController.h"
#import "IOSScreenManager.h"
#import "XBMCDebugHelpers.h"
#import <objc/runtime.h>

Macros

#define GSEVENT_TYPE   2
 
#define GSEVENT_FLAGS   12
 
#define GSEVENTKEY_KEYCODE   15
 
#define GSEVENTKEY_KEYCODE_IOS7   17
 
#define GSEVENTKEY_KEYCODE_64_BIT   13
 
#define GSEVENT_TYPE_KEYUP   11
 
#define MSHookMessageEx(class, selector, replacement, result)   (*(result) = method_setImplementation(class_getInstanceMethod((class), (selector)), (replacement)))
 

Functions

void handleKeyCode (UniChar keyCode)
 
 __attribute__ ((constructor)) static void HookKeyboard(void)
 
int main (int argc, char *argv[])
 

Variables

XBMCControllerm_xbmcController
 

Macro Definition Documentation

◆ GSEVENT_FLAGS

#define GSEVENT_FLAGS   12

◆ GSEVENT_TYPE

#define GSEVENT_TYPE   2

◆ GSEVENT_TYPE_KEYUP

#define GSEVENT_TYPE_KEYUP   11

◆ GSEVENTKEY_KEYCODE

#define GSEVENTKEY_KEYCODE   15

◆ GSEVENTKEY_KEYCODE_64_BIT

#define GSEVENTKEY_KEYCODE_64_BIT   13

◆ GSEVENTKEY_KEYCODE_IOS7

#define GSEVENTKEY_KEYCODE_IOS7   17

◆ MSHookMessageEx

#define MSHookMessageEx (   class,
  selector,
  replacement,
  result 
)    (*(result) = method_setImplementation(class_getInstanceMethod((class), (selector)), (replacement)))

Function Documentation

◆ __attribute__()

__attribute__ ( (constructor)  )

◆ handleKeyCode()

void handleKeyCode ( UniChar  keyCode)

◆ main()

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

Variable Documentation

◆ m_xbmcController

XBMCController* m_xbmcController