MythTV  master
Classes | Macros | Functions
cecadapter.cpp File Reference
#include <QApplication>
#include <QKeyEvent>
#include <QString>
#include "mythcorecontext.h"
#include "mythlogging.h"
#include "mythevent.h"
#include "mythuihelper.h"
#include "mythmainwindow.h"
#include "cecadapter.h"
#include <vector>
#include <libcec/cec.h>
#include <iostream>
#include <libcec/cecloader.h>
Include dependency graph for cecadapter.cpp:

Go to the source code of this file.

Classes

class  CECAdapterPriv
 

Macros

#define MAX_CEC_DEVICES   10
 
#define LOC   QString("CECAdapter: ")
 
#define CEC_MIN_HDMI_PORTNUMBER   1
 
#define CEC_MAX_HDMI_PORTNUMBER   15
 
#define CEC_CALLBACK_PARAM_TYPE   &
 

Functions

static int CECLogMessageCallback (void *adapter, const cec_log_message CEC_CALLBACK_PARAM_TYPE message)
 
static int CECKeyPressCallback (void *adapter, const cec_keypress CEC_CALLBACK_PARAM_TYPE keypress)
 
static int CECCommandCallback (void *adapter, const cec_command CEC_CALLBACK_PARAM_TYPE command)
 

Macro Definition Documentation

◆ MAX_CEC_DEVICES

#define MAX_CEC_DEVICES   10

Definition at line 16 of file cecadapter.cpp.

◆ LOC

#define LOC   QString("CECAdapter: ")

Definition at line 17 of file cecadapter.cpp.

◆ CEC_MIN_HDMI_PORTNUMBER

#define CEC_MIN_HDMI_PORTNUMBER   1

Definition at line 31 of file cecadapter.cpp.

◆ CEC_MAX_HDMI_PORTNUMBER

#define CEC_MAX_HDMI_PORTNUMBER   15

Definition at line 32 of file cecadapter.cpp.

◆ CEC_CALLBACK_PARAM_TYPE

#define CEC_CALLBACK_PARAM_TYPE   &

Definition at line 34 of file cecadapter.cpp.

Function Documentation

◆ CECLogMessageCallback()

static int CECLogMessageCallback ( void *  adapter,
const cec_log_message CEC_CALLBACK_PARAM_TYPE  message 
)
static

Definition at line 1210 of file cecadapter.cpp.

Referenced by CECAdapterPriv::Open().

◆ CECKeyPressCallback()

static int CECKeyPressCallback ( void *  adapter,
const cec_keypress CEC_CALLBACK_PARAM_TYPE  keypress 
)
static

Definition at line 1216 of file cecadapter.cpp.

Referenced by CECAdapterPriv::Open().

◆ CECCommandCallback()

static int CECCommandCallback ( void *  adapter,
const cec_command CEC_CALLBACK_PARAM_TYPE  command 
)
static

Definition at line 1222 of file cecadapter.cpp.

Referenced by CECAdapterPriv::Open().