Revision: 10
http://mmclibrary.svn.sourceforge.net/mmclibrary/?rev=10&view=rev
Author: tigerharry
Date: 2008-06-09 02:53:49 -0700 (Mon, 09 Jun 2008)
Log Message:
-----------
- add MMC_BUTTON_STATE_B to be used with SetButtonState for the third param
Modified Paths:
--------------
MMCLib2/Common.cs
MMCLib2/Interfaces.cs
Modified: MMCLib2/Common.cs
===================================================================
--- MMCLib2/Common.cs 2008-06-09 09:06:56 UTC (rev 9)
+++ MMCLib2/Common.cs 2008-06-09 09:53:49 UTC (rev 10)
@@ -195,6 +195,12 @@
BUTTONPRESSED = 0x10
}
+ public enum MMC_BUTTON_STATE_B
+ {
+ CLEAR = 0,
+ SET = 1
+ }
+
public enum MMC_CONSOLE_VERB
{
NONE = 0x0000,
Modified: MMCLib2/Interfaces.cs
===================================================================
--- MMCLib2/Interfaces.cs 2008-06-09 09:06:56 UTC (rev 9)
+++ MMCLib2/Interfaces.cs 2008-06-09 09:53:49 UTC (rev 10)
@@ -470,7 +470,7 @@
void InsertButton(int nIndex, ref MMCBUTTON lpButton);
void DeleteButton(int nIndex);
void GetButtonState(int idCommand, MMC_BUTTON_STATE nState, out int pState);
- void SetButtonState(int idCommand, MMC_BUTTON_STATE nState, int bState);
+ void SetButtonState(int idCommand, MMC_BUTTON_STATE nState, MMC_BUTTON_STATE_B bState);
}
[
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|