mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetic changes to function comment blocks.
This commit is contained in:
@ -20,8 +20,6 @@
|
||||
#include "Cover.h"
|
||||
|
||||
/*
|
||||
** GetCached
|
||||
**
|
||||
** Checks if cover art is in cache.
|
||||
**
|
||||
*/
|
||||
@ -32,8 +30,6 @@ bool CCover::GetCached(std::wstring& path)
|
||||
}
|
||||
|
||||
/*
|
||||
** GetLocal
|
||||
**
|
||||
** Attemps to find local cover art in various formats.
|
||||
**
|
||||
*/
|
||||
@ -65,8 +61,6 @@ bool CCover::GetLocal(std::wstring filename, const std::wstring& folder, std::ws
|
||||
}
|
||||
|
||||
/*
|
||||
** GetEmbedded
|
||||
**
|
||||
** Attempts to extract cover art from audio files.
|
||||
**
|
||||
*/
|
||||
@ -131,8 +125,6 @@ bool CCover::GetEmbedded(const TagLib::FileRef& fr, const std::wstring& target)
|
||||
}
|
||||
|
||||
/*
|
||||
** GetFileFolder
|
||||
**
|
||||
** Returns path without filename.
|
||||
**
|
||||
*/
|
||||
@ -148,8 +140,6 @@ std::wstring CCover::GetFileFolder(const std::wstring& file)
|
||||
}
|
||||
|
||||
/*
|
||||
** ExtractAPE
|
||||
**
|
||||
** Extracts cover art embedded in APE tags.
|
||||
**
|
||||
*/
|
||||
@ -174,8 +164,6 @@ bool CCover::ExtractAPE(TagLib::APE::Tag* tag, const std::wstring& target)
|
||||
}
|
||||
|
||||
/*
|
||||
** ExtractID3
|
||||
**
|
||||
** Extracts cover art embedded in ID3v2 tags.
|
||||
**
|
||||
*/
|
||||
@ -193,8 +181,6 @@ bool CCover::ExtractID3(TagLib::ID3v2::Tag* tag, const std::wstring& target)
|
||||
}
|
||||
|
||||
/*
|
||||
** ExtractASF
|
||||
**
|
||||
** Extracts cover art embedded in ASF/WMA files.
|
||||
**
|
||||
*/
|
||||
@ -220,8 +206,6 @@ bool CCover::ExtractASF(TagLib::ASF::File* file, const std::wstring& target)
|
||||
}
|
||||
|
||||
/*
|
||||
** ExtractFLAC
|
||||
**
|
||||
** Extracts cover art embedded in FLAC files.
|
||||
**
|
||||
*/
|
||||
@ -239,8 +223,6 @@ bool CCover::ExtractFLAC(TagLib::FLAC::File* file, const std::wstring& target)
|
||||
}
|
||||
|
||||
/*
|
||||
** ExtractMP4
|
||||
**
|
||||
** Extracts cover art embedded in MP4-like files.
|
||||
**
|
||||
*/
|
||||
@ -260,8 +242,6 @@ bool CCover::ExtractMP4(TagLib::MP4::File* file, const std::wstring& target)
|
||||
}
|
||||
|
||||
/*
|
||||
** WriteCover
|
||||
**
|
||||
** Write cover data to file.
|
||||
**
|
||||
*/
|
||||
|
@ -22,8 +22,6 @@
|
||||
HINTERNET CInternet::c_NetHandle = NULL;
|
||||
|
||||
/*
|
||||
** Initialize
|
||||
**
|
||||
** Initialize internet handle and crtical section.
|
||||
**
|
||||
*/
|
||||
@ -42,8 +40,6 @@ void CInternet::Initialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** Finalize
|
||||
**
|
||||
** Close handles and delete critical section.
|
||||
**
|
||||
*/
|
||||
@ -53,8 +49,6 @@ void CInternet::Finalize()
|
||||
}
|
||||
|
||||
/*
|
||||
** DownloadUrl
|
||||
**
|
||||
** Downloads given url and returns it as a string.
|
||||
**
|
||||
*/
|
||||
@ -151,8 +145,6 @@ std::wstring CInternet::DownloadUrl(const std::wstring& url, int codepage)
|
||||
}
|
||||
|
||||
/*
|
||||
** EncodeUrl
|
||||
**
|
||||
** Encode reserved characters.
|
||||
**
|
||||
*/
|
||||
@ -181,8 +173,6 @@ std::wstring CInternet::EncodeUrl(const std::wstring& url)
|
||||
}
|
||||
|
||||
/*
|
||||
** DecodeReferences
|
||||
**
|
||||
** Decodes numeric references.
|
||||
**
|
||||
*/
|
||||
@ -253,8 +243,6 @@ void CInternet::DecodeReferences(std::wstring& str)
|
||||
}
|
||||
|
||||
/*
|
||||
** ConvertToWide
|
||||
**
|
||||
** Convert multibyte string to wide string.
|
||||
**
|
||||
*/
|
||||
|
@ -22,8 +22,6 @@
|
||||
#include "Lyrics.h"
|
||||
|
||||
/*
|
||||
** GetFromInternet
|
||||
**
|
||||
** Download lyrics from various serivces.
|
||||
**
|
||||
*/
|
||||
@ -40,8 +38,6 @@ bool CLyrics::GetFromInternet(const std::wstring& artist, const std::wstring& ti
|
||||
}
|
||||
|
||||
/*
|
||||
** GetFromWikia
|
||||
**
|
||||
** Download lyrics from LyricWiki.
|
||||
**
|
||||
*/
|
||||
@ -116,8 +112,6 @@ bool CLyrics::GetFromWikia(const std::wstring& artist, const std::wstring& title
|
||||
}
|
||||
|
||||
/*
|
||||
** GetFromLYRDB
|
||||
**
|
||||
** Download lyrics from LYRDB.
|
||||
**
|
||||
*/
|
||||
@ -160,8 +154,6 @@ bool CLyrics::GetFromLYRDB(const std::wstring& artist, const std::wstring& title
|
||||
}
|
||||
|
||||
/*
|
||||
** GetFromLetras
|
||||
**
|
||||
** Download lyrics from Letras.
|
||||
**
|
||||
*/
|
||||
|
@ -20,8 +20,6 @@
|
||||
#include "Player.h"
|
||||
|
||||
/*
|
||||
** CPlayer
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -48,8 +46,6 @@ CPlayer::CPlayer() :
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayer
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -64,8 +60,6 @@ CPlayer::~CPlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** AddInstance
|
||||
**
|
||||
** Called during initialization of main measure.
|
||||
**
|
||||
*/
|
||||
@ -75,8 +69,6 @@ void CPlayer::AddInstance()
|
||||
}
|
||||
|
||||
/*
|
||||
** RemoveInstance
|
||||
**
|
||||
** Called during destruction of main measure.
|
||||
**
|
||||
*/
|
||||
@ -91,8 +83,6 @@ void CPlayer::RemoveInstance()
|
||||
}
|
||||
|
||||
/*
|
||||
** AddMeasure
|
||||
**
|
||||
** Called during initialization of any measure.
|
||||
**
|
||||
*/
|
||||
@ -102,8 +92,6 @@ void CPlayer::AddMeasure(INT type)
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateMeasure
|
||||
**
|
||||
** Called during update of main measure.
|
||||
**
|
||||
*/
|
||||
@ -117,8 +105,6 @@ void CPlayer::UpdateMeasure()
|
||||
}
|
||||
|
||||
/*
|
||||
** FindCover
|
||||
**
|
||||
** Default implementation for getting cover.
|
||||
**
|
||||
*/
|
||||
@ -143,8 +129,6 @@ void CPlayer::FindCover()
|
||||
}
|
||||
|
||||
/*
|
||||
** FindLyrics
|
||||
**
|
||||
** Default implementation for getting lyrics.
|
||||
**
|
||||
*/
|
||||
@ -168,8 +152,6 @@ void CPlayer::FindLyrics()
|
||||
}
|
||||
|
||||
/*
|
||||
** LyricsThreadProc
|
||||
**
|
||||
** Thread to download lyrics.
|
||||
**
|
||||
*/
|
||||
@ -207,8 +189,6 @@ unsigned __stdcall CPlayer::LyricsThreadProc(void* pParam)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClearData
|
||||
**
|
||||
** Clear track information.
|
||||
**
|
||||
*/
|
||||
|
@ -24,8 +24,6 @@
|
||||
CPlayer* CPlayerAIMP::c_Player = NULL;
|
||||
|
||||
/*
|
||||
** CPlayerAIMP
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -41,8 +39,6 @@ CPlayerAIMP::CPlayerAIMP() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerAIMP
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -54,8 +50,6 @@ CPlayerAIMP::~CPlayerAIMP()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -70,8 +64,6 @@ CPlayer* CPlayerAIMP::Create()
|
||||
}
|
||||
|
||||
/*
|
||||
** CheckWindow
|
||||
**
|
||||
** Try to find AIMP periodically.
|
||||
**
|
||||
*/
|
||||
@ -105,8 +97,6 @@ bool CPlayerAIMP::CheckWindow()
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -196,8 +186,6 @@ void CPlayerAIMP::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Pause
|
||||
**
|
||||
** Handles the Pause bang.
|
||||
**
|
||||
*/
|
||||
@ -207,8 +195,6 @@ void CPlayerAIMP::Pause()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -218,8 +204,6 @@ void CPlayerAIMP::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -229,8 +213,6 @@ void CPlayerAIMP::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -240,8 +222,6 @@ void CPlayerAIMP::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -251,8 +231,6 @@ void CPlayerAIMP::Previous()
|
||||
}
|
||||
|
||||
/*
|
||||
** SetPosition
|
||||
**
|
||||
** Handles the SetPosition bang.
|
||||
**
|
||||
*/
|
||||
@ -262,8 +240,6 @@ void CPlayerAIMP::SetPosition(int position)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRating
|
||||
**
|
||||
** Handles the SetRating bang.
|
||||
**
|
||||
*/
|
||||
@ -278,8 +254,6 @@ void CPlayerAIMP::SetRating(int rating)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetVolume
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -289,8 +263,6 @@ void CPlayerAIMP::SetVolume(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetShuffle
|
||||
**
|
||||
** Handles the SetShuffle bang.
|
||||
**
|
||||
*/
|
||||
@ -301,8 +273,6 @@ void CPlayerAIMP::SetShuffle(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRepeat
|
||||
**
|
||||
** Handles the SetRepeat bang.
|
||||
**
|
||||
*/
|
||||
@ -313,8 +283,6 @@ void CPlayerAIMP::SetRepeat(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -324,8 +292,6 @@ void CPlayerAIMP::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
@ -28,8 +28,6 @@ extern HINSTANCE g_Instance;
|
||||
// MusicBee, VLC (with libcad plugin), and possibly others.
|
||||
|
||||
/*
|
||||
** CPlayerCAD
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -42,8 +40,6 @@ CPlayerCAD::CPlayerCAD() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerCAD
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -54,8 +50,6 @@ CPlayerCAD::~CPlayerCAD()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -70,8 +64,6 @@ CPlayer* CPlayerCAD::Create()
|
||||
}
|
||||
|
||||
/*
|
||||
** Initialize
|
||||
**
|
||||
** Create receiver window.
|
||||
**
|
||||
*/
|
||||
@ -188,8 +180,6 @@ void CPlayerCAD::Initialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** Uninitialize
|
||||
**
|
||||
** Destroy reciever window.
|
||||
**
|
||||
*/
|
||||
@ -200,8 +190,6 @@ void CPlayerCAD::Uninitialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** WndProc
|
||||
**
|
||||
** Window procedure for the reciever window.
|
||||
**
|
||||
*/
|
||||
@ -381,8 +369,6 @@ LRESULT CALLBACK CPlayerCAD::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -396,8 +382,6 @@ void CPlayerCAD::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Pause
|
||||
**
|
||||
** Handles the Pause bang.
|
||||
**
|
||||
*/
|
||||
@ -407,8 +391,6 @@ void CPlayerCAD::Pause()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -418,8 +400,6 @@ void CPlayerCAD::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -429,8 +409,6 @@ void CPlayerCAD::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -440,8 +418,6 @@ void CPlayerCAD::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -451,8 +427,6 @@ void CPlayerCAD::Previous()
|
||||
}
|
||||
|
||||
/*
|
||||
** SetPosition
|
||||
**
|
||||
** Handles the SetPosition bang.
|
||||
**
|
||||
*/
|
||||
@ -462,8 +436,6 @@ void CPlayerCAD::SetPosition(int position)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRating
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -475,8 +447,6 @@ void CPlayerCAD::SetRating(int rating)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetVolume
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -486,8 +456,6 @@ void CPlayerCAD::SetVolume(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetShuffle
|
||||
**
|
||||
** Handles the SetShuffle bang.
|
||||
**
|
||||
*/
|
||||
@ -498,8 +466,6 @@ void CPlayerCAD::SetShuffle(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRepeat
|
||||
**
|
||||
** Handles the SetRepeat bang.
|
||||
**
|
||||
*/
|
||||
@ -510,8 +476,6 @@ void CPlayerCAD::SetRepeat(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -524,8 +488,6 @@ void CPlayerCAD::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
@ -23,8 +23,6 @@ CPlayer* CPlayerFoobar::c_Player = NULL;
|
||||
extern HINSTANCE g_Instance;
|
||||
|
||||
/*
|
||||
** CPlayerFoobar
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -37,8 +35,6 @@ CPlayerFoobar::CPlayerFoobar() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerFoobar
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -49,8 +45,6 @@ CPlayerFoobar::~CPlayerFoobar()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -65,8 +59,6 @@ CPlayer* CPlayerFoobar::Create()
|
||||
}
|
||||
|
||||
/*
|
||||
** Initialize
|
||||
**
|
||||
** Create receiver window.
|
||||
**
|
||||
*/
|
||||
@ -111,8 +103,6 @@ void CPlayerFoobar::Initialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** Uninitialize
|
||||
**
|
||||
** Destroy reciever window.
|
||||
**
|
||||
*/
|
||||
@ -128,8 +118,6 @@ void CPlayerFoobar::Uninitialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** WndProc
|
||||
**
|
||||
** Window procedure for the reciever window.
|
||||
**
|
||||
*/
|
||||
@ -303,8 +291,6 @@ LRESULT CALLBACK CPlayerFoobar::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -313,8 +299,6 @@ void CPlayerFoobar::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Pause
|
||||
**
|
||||
** Handles the Pause bang.
|
||||
**
|
||||
*/
|
||||
@ -324,8 +308,6 @@ void CPlayerFoobar::Pause()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -335,8 +317,6 @@ void CPlayerFoobar::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -346,8 +326,6 @@ void CPlayerFoobar::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -357,8 +335,6 @@ void CPlayerFoobar::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -368,8 +344,6 @@ void CPlayerFoobar::Previous()
|
||||
}
|
||||
|
||||
/*
|
||||
** SetPosition
|
||||
**
|
||||
** Handles the SetPosition bang.
|
||||
**
|
||||
*/
|
||||
@ -379,8 +353,6 @@ void CPlayerFoobar::SetPosition(int position)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetShuffle
|
||||
**
|
||||
** Handles the SetShuffle bang.
|
||||
**
|
||||
*/
|
||||
@ -392,8 +364,6 @@ void CPlayerFoobar::SetShuffle(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRepeat
|
||||
**
|
||||
** Handles the SetRepeat bang.
|
||||
**
|
||||
*/
|
||||
@ -405,8 +375,6 @@ void CPlayerFoobar::SetRepeat(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetVolume
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -416,8 +384,6 @@ void CPlayerFoobar::SetVolume(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -427,8 +393,6 @@ void CPlayerFoobar::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
@ -23,8 +23,6 @@ CPlayer* CPlayerITunes::c_Player = NULL;
|
||||
extern HINSTANCE g_Instance;
|
||||
|
||||
/*
|
||||
** CEventHandler
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -42,8 +40,6 @@ CPlayerITunes::CEventHandler::CEventHandler(CPlayerITunes* player) :
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CEventHandler
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -113,8 +109,6 @@ HRESULT STDMETHODCALLTYPE CPlayerITunes::CEventHandler::Invoke(DISPID dispidMemb
|
||||
}
|
||||
|
||||
/*
|
||||
** CPlayerITunes
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -147,8 +141,6 @@ CPlayerITunes::CPlayerITunes() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerITunes
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -163,8 +155,6 @@ CPlayerITunes::~CPlayerITunes()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -179,8 +169,6 @@ CPlayer* CPlayerITunes::Create()
|
||||
}
|
||||
|
||||
/*
|
||||
** Initialize
|
||||
**
|
||||
** Initialize iTunes COM interface and event handler.
|
||||
**
|
||||
*/
|
||||
@ -248,8 +236,6 @@ void CPlayerITunes::Initialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** Uninitialize
|
||||
**
|
||||
** Close iTunes COM interface.
|
||||
**
|
||||
*/
|
||||
@ -266,8 +252,6 @@ void CPlayerITunes::Uninitialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** WndProc
|
||||
**
|
||||
** Window procedure for the callback window.
|
||||
**
|
||||
*/
|
||||
@ -307,8 +291,6 @@ LRESULT CALLBACK CPlayerITunes::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
|
||||
}
|
||||
|
||||
/*
|
||||
** CheckWindow
|
||||
**
|
||||
** Try to find iTunes periodically.
|
||||
**
|
||||
*/
|
||||
@ -330,8 +312,6 @@ bool CPlayerITunes::CheckWindow()
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -346,8 +326,6 @@ void CPlayerITunes::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** OnDatabaseChange
|
||||
**
|
||||
** Called by iTunes event handler when the database is changed.
|
||||
**
|
||||
*/
|
||||
@ -370,8 +348,6 @@ void CPlayerITunes::OnDatabaseChange()
|
||||
}
|
||||
|
||||
/*
|
||||
** OnTrackChange
|
||||
**
|
||||
** Called by iTunes event handler on track change.
|
||||
**
|
||||
*/
|
||||
@ -478,8 +454,6 @@ void CPlayerITunes::OnTrackChange()
|
||||
}
|
||||
|
||||
/*
|
||||
** OnStateChange
|
||||
**
|
||||
** Called by iTunes event handler on player state change.
|
||||
**
|
||||
*/
|
||||
@ -497,8 +471,6 @@ void CPlayerITunes::OnStateChange(bool playing)
|
||||
}
|
||||
|
||||
/*
|
||||
** OnVolumeChange
|
||||
**
|
||||
** Called by iTunes event handler on volume change.
|
||||
**
|
||||
*/
|
||||
@ -508,8 +480,6 @@ void CPlayerITunes::OnVolumeChange(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** Pause
|
||||
**
|
||||
** Handles the Pause bang.
|
||||
**
|
||||
*/
|
||||
@ -519,8 +489,6 @@ void CPlayerITunes::Pause()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -530,8 +498,6 @@ void CPlayerITunes::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -541,8 +507,6 @@ void CPlayerITunes::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -552,8 +516,6 @@ void CPlayerITunes::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -563,8 +525,6 @@ void CPlayerITunes::Previous()
|
||||
}
|
||||
|
||||
/*
|
||||
** SetPosition
|
||||
**
|
||||
** Handles the SetPosition bang.
|
||||
**
|
||||
*/
|
||||
@ -574,8 +534,6 @@ void CPlayerITunes::SetPosition(int position)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRating
|
||||
**
|
||||
** Handles the SetRating bang.
|
||||
**
|
||||
*/
|
||||
@ -592,8 +550,6 @@ void CPlayerITunes::SetRating(int rating)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetVolume
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -603,8 +559,6 @@ void CPlayerITunes::SetVolume(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetShuffle
|
||||
**
|
||||
** Handles the SetShuffle bang.
|
||||
**
|
||||
*/
|
||||
@ -630,8 +584,6 @@ void CPlayerITunes::SetShuffle(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRepeat
|
||||
**
|
||||
** Handles the SetRepeat bang.
|
||||
**
|
||||
*/
|
||||
@ -656,8 +608,6 @@ void CPlayerITunes::SetRepeat(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -669,8 +619,6 @@ void CPlayerITunes::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
@ -22,8 +22,6 @@
|
||||
CPlayer* CPlayerSpotify::c_Player = NULL;
|
||||
|
||||
/*
|
||||
** CPlayerSpotify
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -34,8 +32,6 @@ CPlayerSpotify::CPlayerSpotify() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerSpotify
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -45,8 +41,6 @@ CPlayerSpotify::~CPlayerSpotify()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -61,8 +55,6 @@ CPlayer* CPlayerSpotify::Create()
|
||||
}
|
||||
|
||||
/*
|
||||
** CheckWindow
|
||||
**
|
||||
** Try to find Spotify periodically.
|
||||
**
|
||||
*/
|
||||
@ -86,8 +78,6 @@ bool CPlayerSpotify::CheckWindow()
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -136,8 +126,6 @@ void CPlayerSpotify::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -147,8 +135,6 @@ void CPlayerSpotify::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -158,8 +144,6 @@ void CPlayerSpotify::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -169,8 +153,6 @@ void CPlayerSpotify::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -181,8 +163,6 @@ void CPlayerSpotify::Previous()
|
||||
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -200,8 +180,6 @@ void CPlayerSpotify::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
@ -26,8 +26,6 @@ extern HINSTANCE g_Instance;
|
||||
// supported by OpenPandora, Last.fm, Media Player Classic, TTPlayer, Zune, etc.
|
||||
|
||||
/*
|
||||
** CPlayerWLM
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -58,8 +56,6 @@ CPlayerWLM::CPlayerWLM() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerWLM
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -71,8 +67,6 @@ CPlayerWLM::~CPlayerWLM()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -169,8 +163,6 @@ void CPlayerWLM::SendKeyInput(WORD key)
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -179,8 +171,6 @@ void CPlayerWLM::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -190,8 +180,6 @@ void CPlayerWLM::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -201,8 +189,6 @@ void CPlayerWLM::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -212,8 +198,6 @@ void CPlayerWLM::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
|
@ -23,8 +23,6 @@ CPlayer* CPlayerWMP::c_Player = NULL;
|
||||
extern HINSTANCE g_Instance;
|
||||
|
||||
/*
|
||||
** CRemoteHost
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -34,8 +32,6 @@ CPlayerWMP::CRemoteHost::CRemoteHost() :
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CRemoteHost
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -90,8 +86,6 @@ HRESULT CPlayerWMP::CRemoteHost::GetCustomUIMode(BSTR* pbstrFile)
|
||||
}
|
||||
|
||||
/*
|
||||
** CurrentItemChange
|
||||
**
|
||||
** Called when playing track changes.
|
||||
**
|
||||
*/
|
||||
@ -101,8 +95,6 @@ void CPlayerWMP::CRemoteHost::CurrentItemChange(IDispatch* pdispMedia)
|
||||
}
|
||||
|
||||
/*
|
||||
** PlayStateChange
|
||||
**
|
||||
** Called when play state changes.
|
||||
**
|
||||
*/
|
||||
@ -133,8 +125,6 @@ void CPlayerWMP::CRemoteHost::PlayStateChange(long NewState)
|
||||
}
|
||||
|
||||
/*
|
||||
** SwitchedToControl
|
||||
**
|
||||
** Called when WMP quits.
|
||||
**
|
||||
*/
|
||||
@ -145,8 +135,6 @@ void CPlayerWMP::CRemoteHost::SwitchedToControl()
|
||||
}
|
||||
|
||||
/*
|
||||
** CPlayerWMP
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -165,8 +153,6 @@ CPlayerWMP::CPlayerWMP() : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerWMP
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -178,8 +164,6 @@ CPlayerWMP::~CPlayerWMP()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -194,8 +178,6 @@ CPlayer* CPlayerWMP::Create()
|
||||
}
|
||||
|
||||
/*
|
||||
** Initialize
|
||||
**
|
||||
** Set up the COM interface with WMP.
|
||||
**
|
||||
*/
|
||||
@ -345,8 +327,6 @@ void CPlayerWMP::Initialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** Uninitialize
|
||||
**
|
||||
** Close the interface with WMP.
|
||||
**
|
||||
*/
|
||||
@ -366,8 +346,6 @@ void CPlayerWMP::Uninitialize()
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -489,8 +467,6 @@ void CPlayerWMP::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Pause
|
||||
**
|
||||
** Handles the Pause bang.
|
||||
**
|
||||
*/
|
||||
@ -500,8 +476,6 @@ void CPlayerWMP::Pause()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -511,8 +485,6 @@ void CPlayerWMP::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -524,8 +496,6 @@ void CPlayerWMP::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -535,8 +505,6 @@ void CPlayerWMP::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -546,8 +514,6 @@ void CPlayerWMP::Previous()
|
||||
}
|
||||
|
||||
/*
|
||||
** SetPosition
|
||||
**
|
||||
** Handles the SetPosition bang.
|
||||
**
|
||||
*/
|
||||
@ -557,8 +523,6 @@ void CPlayerWMP::SetPosition(int position)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRating
|
||||
**
|
||||
** Handles the SetRating bang.
|
||||
**
|
||||
*/
|
||||
@ -606,8 +570,6 @@ void CPlayerWMP::SetRating(int rating)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetVolume
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -617,8 +579,6 @@ void CPlayerWMP::SetVolume(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -633,8 +593,6 @@ void CPlayerWMP::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
@ -27,8 +27,6 @@ CPlayer* CPlayerWinamp::c_Player = NULL;
|
||||
// This player retrieves data through the Winamp IPC interface.
|
||||
|
||||
/*
|
||||
** CPlayerWinamp
|
||||
**
|
||||
** Constructor.
|
||||
**
|
||||
*/
|
||||
@ -44,8 +42,6 @@ CPlayerWinamp::CPlayerWinamp(WINAMPTYPE type) : CPlayer(),
|
||||
}
|
||||
|
||||
/*
|
||||
** ~CPlayerWinamp
|
||||
**
|
||||
** Destructor.
|
||||
**
|
||||
*/
|
||||
@ -56,8 +52,6 @@ CPlayerWinamp::~CPlayerWinamp()
|
||||
}
|
||||
|
||||
/*
|
||||
** Create
|
||||
**
|
||||
** Creates a shared class object.
|
||||
**
|
||||
*/
|
||||
@ -72,8 +66,6 @@ CPlayer* CPlayerWinamp::Create(WINAMPTYPE type)
|
||||
}
|
||||
|
||||
/*
|
||||
** CheckWindow
|
||||
**
|
||||
** Try to find Winamp periodically.
|
||||
**
|
||||
*/
|
||||
@ -106,8 +98,6 @@ bool CPlayerWinamp::CheckWindow()
|
||||
}
|
||||
|
||||
/*
|
||||
** UpdateData
|
||||
**
|
||||
** Called during each update of the main measure.
|
||||
**
|
||||
*/
|
||||
@ -319,8 +309,6 @@ void CPlayerWinamp::UpdateData()
|
||||
}
|
||||
|
||||
/*
|
||||
** Pause
|
||||
**
|
||||
** Handles the Pause bang.
|
||||
**
|
||||
*/
|
||||
@ -330,8 +318,6 @@ void CPlayerWinamp::Pause()
|
||||
}
|
||||
|
||||
/*
|
||||
** Play
|
||||
**
|
||||
** Handles the Play bang.
|
||||
**
|
||||
*/
|
||||
@ -341,8 +327,6 @@ void CPlayerWinamp::Play()
|
||||
}
|
||||
|
||||
/*
|
||||
** Stop
|
||||
**
|
||||
** Handles the Stop bang.
|
||||
**
|
||||
*/
|
||||
@ -352,8 +336,6 @@ void CPlayerWinamp::Stop()
|
||||
}
|
||||
|
||||
/*
|
||||
** Next
|
||||
**
|
||||
** Handles the Next bang.
|
||||
**
|
||||
*/
|
||||
@ -363,8 +345,6 @@ void CPlayerWinamp::Next()
|
||||
}
|
||||
|
||||
/*
|
||||
** Previous
|
||||
**
|
||||
** Handles the Previous bang.
|
||||
**
|
||||
*/
|
||||
@ -374,8 +354,6 @@ void CPlayerWinamp::Previous()
|
||||
}
|
||||
|
||||
/*
|
||||
** SetPosition
|
||||
**
|
||||
** Handles the SetPosition bang.
|
||||
**
|
||||
*/
|
||||
@ -386,8 +364,6 @@ void CPlayerWinamp::SetPosition(int position)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRating
|
||||
**
|
||||
** Handles the SetRating bang.
|
||||
**
|
||||
*/
|
||||
@ -407,8 +383,6 @@ void CPlayerWinamp::SetRating(int rating)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetVolume
|
||||
**
|
||||
** Handles the SetVolume bang.
|
||||
**
|
||||
*/
|
||||
@ -420,8 +394,6 @@ void CPlayerWinamp::SetVolume(int volume)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetShuffle
|
||||
**
|
||||
** Handles the SetShuffle bang.
|
||||
**
|
||||
*/
|
||||
@ -435,8 +407,6 @@ void CPlayerWinamp::SetShuffle(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** SetRepeat
|
||||
**
|
||||
** Handles the SetRepeat bang.
|
||||
**
|
||||
*/
|
||||
@ -450,8 +420,6 @@ void CPlayerWinamp::SetRepeat(bool state)
|
||||
}
|
||||
|
||||
/*
|
||||
** ClosePlayer
|
||||
**
|
||||
** Handles the ClosePlayer bang.
|
||||
**
|
||||
*/
|
||||
@ -472,8 +440,6 @@ void CPlayerWinamp::ClosePlayer()
|
||||
}
|
||||
|
||||
/*
|
||||
** OpenPlayer
|
||||
**
|
||||
** Handles the OpenPlayer bang.
|
||||
**
|
||||
*/
|
||||
|
Reference in New Issue
Block a user