+ return cec_parser->SetActiveView() ? 1 : 0;
+ return -1;
+}
+
+int cec_set_inactive_view(void)
+{
+ if (cec_parser)
+ return cec_parser->SetInactiveView() ? 1 : 0;
+ return -1;
+}
+
+int cec_set_osd_string(cec_logical_address iLogicalAddress, cec_display_control duration, const char *strMessage)
+{
+ if (cec_parser)
+ return cec_parser->SetOSDString(iLogicalAddress, duration, strMessage) ? 1 : 0;
+ return -1;
+}
+
+int cec_switch_monitoring(int bEnable)
+{
+ if (cec_parser)
+ return cec_parser->SwitchMonitoring(bEnable == 1) ? 1 : 0;
+ return -1;