diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2010-02-06 15:40:57 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2010-02-06 15:40:57 +0300 |
commit | 836f83707fd465386ab1e1e22c0dfee6e38f092f (patch) | |
tree | 5be2a9e5f94ec25bd098c55037ee71ca226c1dd0 /src/apps/mplayerc/mplayerc.h | |
parent | 11fb292f3e37c0a441919be1600c3b8447d29714 (diff) |
Added : support for SRM7500 remote control
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1614 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/mplayerc.h')
-rw-r--r-- | src/apps/mplayerc/mplayerc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/apps/mplayerc/mplayerc.h b/src/apps/mplayerc/mplayerc.h index d469d41ff..2e4ecfeff 100644 --- a/src/apps/mplayerc/mplayerc.h +++ b/src/apps/mplayerc/mplayerc.h @@ -426,6 +426,10 @@ class CMPlayerCApp : public CWinApp COLORPROPERTY_RANGE m_ColorControl[4];
HINSTANCE m_hD3DX9Dll;
int m_nDXSdkRelease;
+
+ static UINT GetRemoteControlCodeMicrosoft(UINT nInputcode, HRAWINPUT hRawInput);
+ static UINT GetRemoteControlCodeSRM7500(UINT nInputcode, HRAWINPUT hRawInput);
+
public:
CMPlayerCApp();
@@ -445,6 +449,9 @@ public: CString m_strVersion;
CString m_strD3DX9Version;
+ typedef UINT (*PTR_GetRemoteControlCode)(UINT nInputcode, HRAWINPUT hRawInput);
+
+ PTR_GetRemoteControlCode GetRemoteControlCode;
LONGLONG GetPerfCounter();
COLORPROPERTY_RANGE* GetColorControl(ControlType nFlag);
HINSTANCE GetD3X9Dll();
|