NowPlayingPlugin:

- Added preliminary support to display lyrics (PlayerType=LYRICS)
- Applied r825 fix on TrackChangeAction= (sends bang to correct window without the need of #CURRENTCONFIG#)
- Some refactoring
This commit is contained in:
Birunthan Mohanathas
2011-06-19 14:58:48 +00:00
parent 6aa004eb22
commit d633f4b586
29 changed files with 1181 additions and 329 deletions

View File

@ -34,8 +34,9 @@
class CPlayerWMP : public CPlayer
{
public:
CPlayerWMP();
~CPlayerWMP();
virtual ~CPlayerWMP();
static CPlayer* Create();
virtual void UpdateData();
@ -50,6 +51,9 @@ public:
virtual void OpenPlayer(std::wstring& path);
virtual void ClosePlayer();
protected:
CPlayerWMP();
private:
class CRemoteHost :
public CComObjectRootEx<CComSingleThreadModel>,
@ -129,6 +133,8 @@ private:
void Initialize();
void Uninitialize();
static CPlayer* c_Player;
bool m_TrackChanged;
HWND m_Window;
CAxWindow* m_AxWindow;