X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=40df4ce0267d7764ba891901e8062e2e94c6e36e;hb=f9717bcc6224db67d0f40f54588c6fb47990f155;hp=e7ee890dcc3e360e4f7c6ff0069d43a011b55e62;hpb=2d4e263cf51412a7c7195e80290b972ad567e0ed;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index e7ee890..40df4ce 100644 --- a/include/cec.h +++ b/include/cec.h @@ -40,6 +40,17 @@ namespace CEC { + /*! + * To create a new libCEC instance, call CECInitialise() and pass the + * configuration as argument. Then call Open() to open a connection to the + * adapter. Close() closes the connection and CECDestroy() cleans up the + * libCEC instance. + * + * libCEC can send commands to other devices on the CEC bus via the methods + * on this interface, and all commands that libCEC received are sent back + * to the application via callback methods. The callback methods can be + * found in cectypes.h, ICECCallbacks. + */ class ICECAdapter { public: