NowPlayingPlugin: Improved MusicBee & MediaMonkey support and fixed that the ClosePlayer bang with iTunes does not always work.

This commit is contained in:
Birunthan Mohanathas
2011-05-28 07:50:33 +00:00
parent 9a19d8808e
commit 3268c774d2
10 changed files with 256 additions and 63 deletions

View File

@ -21,10 +21,16 @@
#include "Player.h"
enum WINAMPTYPE
{
WA_WINAMP,
WA_MEDIAMONKEY
};
class CPlayerWinamp : public CPlayer
{
public:
CPlayerWinamp();
CPlayerWinamp(WINAMPTYPE type);
~CPlayerWinamp();
virtual void Play();
@ -49,6 +55,7 @@ private:
bool m_HasCoverMeasure;
bool m_UseUnicodeAPI;
WINAMPTYPE m_WinampType;
HWND m_Window; // Winamp window
HANDLE m_WinampHandle; // Handle to Winamp process
LPCVOID m_WinampAddress;