mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlayingPlugin: iTunes quits are handled a little more gracefully now (i.e. iTunes should now quit immediately without lag)
This commit is contained in:
@ -33,6 +33,8 @@
|
||||
#include <atlhost.h>
|
||||
#include <atlctl.h>
|
||||
|
||||
const int TIMER_CHECKACTIVE = 1;
|
||||
|
||||
class CPlayerITunes : public CPlayer
|
||||
{
|
||||
public:
|
||||
@ -88,9 +90,12 @@ private:
|
||||
void OnVolumeChange(int volume);
|
||||
bool CheckWindow();
|
||||
|
||||
static CPlayer* c_Player;
|
||||
static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
bool m_UserQuitPrompt;
|
||||
static CPlayer* c_Player;
|
||||
|
||||
HWND m_CallbackWindow;
|
||||
bool m_iTunesActive;
|
||||
IiTunes* m_iTunes;
|
||||
CEventHandler* m_iTunesEvent;
|
||||
};
|
||||
|
Reference in New Issue
Block a user