From 1c7cd8f8c8085141c4267680a9bdab1d820056bb Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Tue, 2 Oct 2012 13:07:09 +0200 Subject: [PATCH] more missing docs --- src/LibCecSharp/CecSharpTypes.h | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) 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 -- 2.34.1