Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
EVENTPACKET Namespace Reference

Classes

class  CEventPacket
 

Enumerations

enum  LogoType { LT_NONE = 0x00, LT_JPEG = 0x01, LT_PNG = 0x02, LT_GIF = 0x03 }
 
enum  ButtonFlags {
  PTB_USE_NAME = 0x01, PTB_DOWN = 0x02, PTB_UP = 0x04, PTB_USE_AMOUNT = 0x08,
  PTB_QUEUE = 0x10, PTB_NO_REPEAT = 0x20, PTB_VKEY = 0x40, PTB_AXIS = 0x80,
  PTB_AXISSINGLE = 0x100, PTB_UNICODE = 0x200
}
 
enum  MouseFlags { PTM_ABSOLUTE = 0x01 }
 
enum  ActionType { AT_EXEC_BUILTIN = 0x01, AT_BUTTON = 0x02 }
 
enum  PacketType {
  PT_HELO = 0x01, PT_BYE = 0x02, PT_BUTTON = 0x03, PT_MOUSE = 0x04,
  PT_PING = 0x05, PT_BROADCAST = 0x06, PT_NOTIFICATION = 0x07, PT_BLOB = 0x08,
  PT_LOG = 0x09, PT_ACTION = 0x0A, PT_DEBUG = 0xFF, PT_LAST
}
 

Variables

const int PACKET_SIZE = 1024
 
const int HEADER_SIZE = 32
 
const char HEADER_SIG [] = "XBMC"
 
const int HEADER_SIG_LENGTH = 4
 

Enumeration Type Documentation

§ ActionType

Enumerator
AT_EXEC_BUILTIN 
AT_BUTTON 

§ ButtonFlags

Enumerator
PTB_USE_NAME 
PTB_DOWN 
PTB_UP 
PTB_USE_AMOUNT 
PTB_QUEUE 
PTB_NO_REPEAT 
PTB_VKEY 
PTB_AXIS 
PTB_AXISSINGLE 
PTB_UNICODE 

§ LogoType

Enumerator
LT_NONE 
LT_JPEG 
LT_PNG 
LT_GIF 

§ MouseFlags

Enumerator
PTM_ABSOLUTE 

§ PacketType

Enumerator
PT_HELO 
PT_BYE 
PT_BUTTON 
PT_MOUSE 
PT_PING 
PT_BROADCAST 
PT_NOTIFICATION 
PT_BLOB 
PT_LOG 
PT_ACTION 
PT_DEBUG 
PT_LAST 

Variable Documentation

§ HEADER_SIG

const char EVENTPACKET::HEADER_SIG[] = "XBMC"

§ HEADER_SIG_LENGTH

const int EVENTPACKET::HEADER_SIG_LENGTH = 4

§ HEADER_SIZE

const int EVENTPACKET::HEADER_SIZE = 32

§ PACKET_SIZE

const int EVENTPACKET::PACKET_SIZE = 1024