mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
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:
@ -24,8 +24,9 @@
|
||||
class CPlayerAIMP : public CPlayer
|
||||
{
|
||||
public:
|
||||
CPlayerAIMP();
|
||||
~CPlayerAIMP();
|
||||
virtual ~CPlayerAIMP();
|
||||
|
||||
static CPlayer* Create();
|
||||
|
||||
virtual void UpdateData();
|
||||
|
||||
@ -40,14 +41,19 @@ public:
|
||||
virtual void ClosePlayer();
|
||||
virtual void OpenPlayer(std::wstring& path);
|
||||
|
||||
protected:
|
||||
CPlayerAIMP();
|
||||
|
||||
private:
|
||||
bool Initialize();
|
||||
bool CheckActive();
|
||||
bool CheckWindow();
|
||||
|
||||
LPVOID m_FileMap;
|
||||
HANDLE m_FileMapHandle;
|
||||
static CPlayer* c_Player;
|
||||
|
||||
HWND m_Window; // AIMP window
|
||||
HWND m_WinampWindow; // AIMP Winamp API window
|
||||
LPVOID m_FileMap;
|
||||
HANDLE m_FileMapHandle;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user