X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=a0110ad93714e16891db9a76857287d7f9328ab0;hb=1c7cd8f8c8085141c4267680a9bdab1d820056bb;hp=adef54d314768e550e0084e5970018d7a79d9582;hpb=8438c41fc8c7ee216ccc774005f862f42cf7f0df;p=deb_libcec.git diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index adef54d..a0110ad 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -39,6 +39,10 @@ #using +/// +/// LibCecSharp namespace +/// +/// namespace CecSharp { /// @@ -425,7 +429,7 @@ namespace CecSharp /// /// User control code, the key code when the user presses or releases a button on the remote. - /// Used by SendKeypress() and the CecKeyPress() callback. + /// Used by SendKeypress() and the CecKey callback. /// public enum class CecUserControlCode { @@ -2026,14 +2030,34 @@ namespace CecSharp } #pragma managed - // delegates for the unmanaged callback methods + /// + /// Delegate method for the CecLogMessageCB callback in CecCallbackMethods + /// public delegate int CecLogMessageManagedDelegate(const CEC::cec_log_message &); + /// + /// Delegate method for the CecKeyPressCB callback in CecCallbackMethods + /// public delegate int CecKeyPressManagedDelegate(const CEC::cec_keypress &); + /// + /// Delegate method for the CecCommandCB callback in CecCallbackMethods + /// public delegate int CecCommandManagedDelegate(const CEC::cec_command &); + /// + /// Delegate method for the CecConfigCB callback in CecCallbackMethods + /// public delegate int CecConfigManagedDelegate(const CEC::libcec_configuration &); + /// + /// Delegate method for the CecAlertCB callback in CecCallbackMethods + /// public delegate int CecAlertManagedDelegate(const CEC::libcec_alert, const CEC::libcec_parameter &); - public delegate int CecMenuManagedDelegate(const CEC::cec_menu_state newVal); - public delegate void CecSourceActivatedManagedDelegate(const CEC::cec_logical_address logicalAddress, const uint8_t bActivated); + /// + /// Delegate method for the CecMenuCB callback in CecCallbackMethods + /// + public delegate int CecMenuManagedDelegate(const CEC::cec_menu_state); + /// + /// Delegate method for the CecSourceActivatedCB callback in CecCallbackMethods + /// + public delegate void CecSourceActivatedManagedDelegate(const CEC::cec_logical_address, const uint8_t); /// /// Assign the callback methods in the g_cecCallbacks struct