Skip to content

Commit c7998af

Browse files
committed
RDKEMW-1061: RDK-E Add COMRPC
Reason for change: Create the interface file for HdmiCecSource Test Procedure: Risks: low Priority: P1 Signed-off-by:Hayden Gfeller [email protected]
1 parent 5237ca7 commit c7998af

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

HdmiCecSource/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ find_package(IARMBus)
4545
find_package(CEC)
4646

4747
target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../helpers)
48-
target_include_directories(${MODULE_NAME} PRIVATE ${CEC_INCLUDE_DIRS})
49-
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})
5048

5149
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../helpers)
5250
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${CEC_INCLUDE_DIRS})
5351
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${DS_INCLUDE_DIRS})
5452

55-
target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )
53+
target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES})
5654

5755
target_link_libraries(${PLUGIN_IMPLEMENTATION} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )
5856

HdmiCecSource/HdmiCecSource.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,10 @@
2424
#include "UtilssyncPersistFile.h"
2525
#include "UtilsSearchRDKProfile.h"
2626

27-
#define HDMICECSOURCE_METHOD_SEND_KEY_PRESS "sendKeyPressEvent"
28-
#define HDMICEC_EVENT_ON_DEVICES_CHANGED "onDevicesChanged"
29-
#define HDMICEC_EVENT_ON_HDMI_HOT_PLUG "onHdmiHotPlug"
30-
#define HDMICEC_EVENT_ON_STANDBY_MSG_RECEIVED "standbyMessageReceived"
31-
#define DEV_TYPE_TUNER 1
32-
#define HDMI_HOT_PLUG_EVENT_CONNECTED 0
33-
#define ABORT_REASON_ID 4
34-
3527
#define API_VERSION_NUMBER_MAJOR 1
3628
#define API_VERSION_NUMBER_MINOR 0
3729
#define API_VERSION_NUMBER_PATCH 8
3830

39-
#define CEC_SETTING_ENABLED_FILE "/opt/persistent/ds/cecData_2.json"
40-
#define CEC_SETTING_ENABLED "cecEnabled"
41-
#define CEC_SETTING_OTP_ENABLED "cecOTPEnabled"
42-
#define CEC_SETTING_OSD_NAME "cecOSDName"
43-
#define CEC_SETTING_VENDOR_ID "cecVendorId"
44-
4531
using namespace WPEFramework;
4632

4733

HdmiCecSource/HdmiCecSource.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,11 @@
3232
#include "UtilsBIT.h"
3333
#include "UtilsThreadRAII.h"
3434

35-
#include <interfaces/IPowerManager.h>
36-
#include "PowerManagerInterface.h"
3735
#include <interfaces/IHdmiCecSource.h>
3836
#include <interfaces/json/JHdmiCecSource.h>
3937
#include <interfaces/json/JsonData_HdmiCecSource.h>
4038

4139
using namespace WPEFramework;
42-
using PowerState = WPEFramework::Exchange::IPowerManager::PowerState;
43-
using ThermalTemperature = WPEFramework::Exchange::IPowerManager::ThermalTemperature;
4440

4541
namespace WPEFramework {
4642

0 commit comments

Comments
 (0)