- NowPlaying.dll/iTunesPlugin.dll: Fixed incompatibility with iTunes controllers

- NowPlaying.dll: Removed support for caching cover art
This commit is contained in:
Birunthan Mohanathas
2011-11-05 17:52:53 +00:00
parent 2a166b520f
commit c8e4608b41
11 changed files with 109 additions and 156 deletions

View File

@ -23,6 +23,13 @@
struct ParentMeasure
{
ParentMeasure() :
player(NULL),
childCount(1),
trackCount(0),
disableLeadingZero(false)
{}
UINT id;
UINT childCount;
UINT trackCount;
@ -33,16 +40,17 @@ struct ParentMeasure
std::wstring trackChangeAction;
std::wstring playerPath;
bool disableLeadingZero;
ParentMeasure() : player(NULL) {}
};
struct ChildMeasure
{
ChildMeasure() :
type(MEASURE_NONE),
parent(NULL)
{}
MEASURETYPE type;
ParentMeasure* parent;
ChildMeasure() : parent(NULL) {}
};
void SecondsToTime(UINT seconds, bool leadingZero, WCHAR* buffer);