repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
p8: match to the response provided by the firmware when checking responses (added...
[deb_libcec.git]
/
src
/
lib
/
LibCECC.cpp
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index 4a7e0be9b8260f8d0a491929be7a9db930f18922..2576da0932577e8dbfb48acf5a333b55934fb263 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-30,8
+30,9
@@
* http://www.pulse-eight.net/
*/
* http://www.pulse-eight.net/
*/
-#include "../../include/cec.h"
-#include "../../include/cecc.h"
+#include "env.h"
+#include "cec.h"
+#include "cecc.h"
using namespace CEC;
using namespace std;
using namespace CEC;
using namespace std;
@@
-426,4
+427,15
@@
int cec_get_device_information(const char *strPort, CEC::libcec_configuration *c
return cec_parser ? (cec_parser->GetDeviceInformation(strPort, config, iTimeoutMs) ? 1 : 0) : -1;
}
return cec_parser ? (cec_parser->GetDeviceInformation(strPort, config, iTimeoutMs) ? 1 : 0) : -1;
}
+const char * cec_get_lib_info(void)
+{
+ return cec_parser ? cec_parser->GetLibInfo() : NULL;
+}
+
+void cec_init_video_standalone(void)
+{
+ if (cec_parser)
+ cec_parser->InitVideoStandalone();
+}
+
//@}
//@}