OSDN Git Service

Add const modifiers to arguments and bHookApp in CXkeymacsDll::SetModifierState.
[xkeymacs/xkeymacs.git] / xkeymacsdll / xkeymacsdll.h
index 006eac4..62700ee 100644 (file)
@@ -98,7 +98,7 @@ public:
        static CClipboardSnap* GetKillRing(CClipboardSnap *pSnap, BOOL bForce = TRUE);\r
        static void IncreaseKillRingIndex(int nKillRing = 1);\r
        static UINT GetModifierState(BOOL bPhysicalKey = TRUE);\r
-       static void SetModifierState(UINT before, UINT after);\r
+       static void SetModifierState(const UINT before, const UINT after);\r
        static BOOL IsDown(BYTE bVk, BOOL bPhysicalKey = TRUE);\r
        static void Kdu(BYTE bVk, DWORD n = 1, BOOL bOriginal = TRUE);\r
        static void ReleaseKey(BYTE bVk);\r