/** * * SoundTouch Property Page * 作成者: id:yuaaaa * ほんとはGPLっていわなきゃいけない * * $Id$ */ #pragma once #ifdef __cplusplus extern "C" { #endif const int MaxSoundTouchRate = 13; const int MinSoundTouchRate = -13; const int DefaultSoundTouchRate = 0; class CSoundTouchProperties : public CBasePropertyPage { public: static CUnknown * WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr); // Overrides from CBasePropertyPage HRESULT OnConnect(IUnknown * punk); HRESULT OnDisconnect(void); HRESULT OnDeactivate(void); CSoundTouchProperties(LPUNKNOWN lpunk, HRESULT *phr); private: INT_PTR OnReceiveMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); HWND CreateSlider(HWND hwndParent); void OnSliderNotification(WPARAM wParam, HWND hwnd); HWND m_hwnd; HWND m_hwndSlider; // handle of slider int m_iTouchRate; ISoundTouch *m_pSoundTouch; }; #ifdef __cplusplus } #endif