id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49,941 | BASSEncodeLibrary.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/BASSEncodeLibrary.cpp | #include "stdafx.h"
#include "BASSEncodeLibrary.h"
CBASSEncodeLibrary::CBASSEncodeLibrary()
{
}
CBASSEncodeLibrary::~CBASSEncodeLibrary()
{
}
bool CBASSEncodeLibrary::GetFunction()
{
bool rtn = true;
//获取函数入口
BASS_Encode_Start = (_BASS_Encode_Start)::GetProcAddress(m_dll_module, "BASS_Encode_Start");
... | 699 | C++ | .cpp | 21 | 28.857143 | 105 | 0.70743 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,942 | MediaLibPlaylistMgr.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaLibPlaylistMgr.cpp | #include "stdafx.h"
#include "MediaLibPlaylistMgr.h"
#include "MusicPlayer2.h"
#include "SongDataManager.h"
bool MediaLibPlaylistInfo::operator==(const MediaLibPlaylistInfo& other) const
{
return medialib_type == other.medialib_type && path == other.path;
}
bool MediaLibPlaylistInfo::operator<(const MediaLibPlayl... | 9,969 | C++ | .cpp | 261 | 30.509579 | 220 | 0.652788 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,943 | EditStringListDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/EditStringListDlg.cpp | // SelectItemDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "EditStringListDlg.h"
// CEditStringListDlg 对话框
IMPLEMENT_DYNAMIC(CEditStringListDlg, CBaseDialog)
CEditStringListDlg::CEditStringListDlg(vector<wstring>& items, CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_SELECT_ITEM_DIALOG... | 2,041 | C++ | .cpp | 70 | 23.971429 | 90 | 0.705724 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,944 | ColorStaticEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/ColorStaticEx.cpp | #include "stdafx.h"
#include "ColorStaticEx.h"
CColorStaticEx::CColorStaticEx()
{
}
CColorStaticEx::~CColorStaticEx()
{
}
COLORREF CColorStaticEx::GetFillColor() const
{
return m_fill_color;
}
void CColorStaticEx::PreSubclassWindow()
{
// TODO: 在此添加专用代码和/或调用基类
DWORD dwStyle = GetStyle();
::SetWindowLong(GetS... | 1,190 | C++ | .cpp | 41 | 23.707317 | 86 | 0.745597 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,946 | MyComboBox.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MyComboBox.cpp | #include "stdafx.h"
#include "MyComboBox.h"
#include "MusicPlayer2.h"
IMPLEMENT_DYNAMIC(CMyComboBox, CComboBox)
CMyComboBox::CMyComboBox()
{
}
CMyComboBox::~CMyComboBox()
{
}
void CMyComboBox::SetReadOnly(bool read_only)
{
CEdit* pEdit = GetEditCtrl();
if (pEdit != nullptr)
pEdit->SetReadOnly(read_... | 3,440 | C++ | .cpp | 112 | 23.919643 | 141 | 0.69407 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,947 | CDevicesManager.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CDevicesManager.cpp | /******************************************************************************
* This file is part of DefaultAudioChanger.
* Copyright (c) 2011 Sergiu Giurgiu
*
* DefaultAudioChanger is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | 2,066 | C++ | .cpp | 56 | 33.464286 | 87 | 0.680862 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,948 | AudioCommon.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/AudioCommon.cpp | #include "stdafx.h"
#include "AudioCommon.h"
#include "CueFile.h"
#include "MusicPlayer2.h"
#include "SongDataManager.h"
#include "taglib/id3v1genres.h"
#include "SongInfoHelper.h"
#include "Lyric.h"
#include "AudioTag.h"
#include "FilePathHelper.h"
#include "COSUPlayerHelper.h"
#include "Player.h"
void SupportedForm... | 31,739 | C++ | .cpp | 761 | 28.630749 | 165 | 0.583187 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,949 | CTabCtrlEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CTabCtrlEx.cpp | // CTabCtrlEx.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "CTabCtrlEx.h"
#include "TabDlg.h"
// CTabCtrlEx
IMPLEMENT_DYNAMIC(CTabCtrlEx, CTabCtrl)
CTabCtrlEx::CTabCtrlEx()
{
}
CTabCtrlEx::~CTabCtrlEx()
{
}
void CTabCtrlEx::AddWindow(CWnd* pWnd, LPCTSTR lable_text, IconMgr::IconType icon_... | 3,513 | C++ | .cpp | 122 | 23.868852 | 127 | 0.66791 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,950 | MP3EncodeCfgDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MP3EncodeCfgDlg.cpp | // MP3EncodeCfgDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "MP3EncodeCfgDlg.h"
// CMP3EncodeCfgDlg 对话框
IMPLEMENT_DYNAMIC(CMP3EncodeCfgDlg, CBaseDialog)
CMP3EncodeCfgDlg::CMP3EncodeCfgDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_MP3_ENCODE_CFG_DIALOG, pParent)
{
}
CMP3EncodeCf... | 8,930 | C++ | .cpp | 223 | 33.93722 | 105 | 0.70405 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,952 | DrawCommon.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/DrawCommon.cpp | #include "stdafx.h"
#include "DrawCommon.h"
#include "GdiPlusTool.h"
void CDrawCommon::ScrollInfo::Reset()
{
shift_cnt = 0;
shift_dir = false;
freez = 20;
dir_changed = false;
}
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////... | 30,665 | C++ | .cpp | 756 | 31.42328 | 163 | 0.63095 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,953 | LyricsWindow.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/LyricsWindow.cpp | // LyricsWindow.cpp : 实现文件
//
#include "stdafx.h"
#include "LyricsWindow.h"
// CLyricsWindow
const Gdiplus::REAL TRANSLATE_FONT_SIZE_FACTOR = 0.88f; //歌词翻译文本大小占歌词文本大小的比例
IMPLEMENT_DYNAMIC(CLyricsWindow, CWnd)
CLyricsWindow::CLyricsWindow()
{
HDC hDC=::GetDC(NULL);
m_hCacheDC=::CreateCompatibleDC(hDC);
::Releas... | 21,141 | C++ | .cpp | 523 | 33.323136 | 170 | 0.718159 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,954 | DllLib.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/DllLib.cpp | #include "stdafx.h"
#include "DllLib.h"
CDllLib::CDllLib()
{
}
CDllLib::~CDllLib()
{
}
void CDllLib::Init(const wstring & dll_path)
{
//载入DLL
m_dll_module = ::LoadLibrary(dll_path.c_str());
//获取函数入口
bool rtn = false;
if(m_dll_module != NULL)
rtn = GetFunction();
//判断是否成功
m_succe... | 576 | C++ | .cpp | 31 | 14.16129 | 51 | 0.607495 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,955 | TreeCtrlEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TreeCtrlEx.cpp | // TreeCtrlEx.cpp: 实现文件
//
#include "stdafx.h"
#include "TreeCtrlEx.h"
#include "MusicPlayer2.h"
// CTreeCtrlEx
std::map<CString, bool> CTreeCtrlEx::m_expand_state;
IMPLEMENT_DYNAMIC(CTreeCtrlEx, CTreeCtrl)
CTreeCtrlEx::CTreeCtrlEx()
: m_theme_color(theApp.m_app_setting_data.theme_color)
{
}
CTreeCtrlEx::~CT... | 4,801 | C++ | .cpp | 164 | 23.195122 | 110 | 0.647894 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,956 | StrTable.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/StrTable.cpp | #include "stdafx.h"
#include "StrTable.h"
#include "Common.h"
#include "IniHelper.h"
#include "resource.h"
StrTable::StrTable()
{
}
StrTable::~StrTable()
{
}
const wstring StrTable::error_str = { L"<error>" };
bool StrTable::Init(const wstring& language_dir, wstring& language_tag_setting)
{
bool expected = fals... | 7,203 | C++ | .cpp | 159 | 31.226415 | 138 | 0.633791 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,957 | ReverbDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/ReverbDlg.cpp | // ReverbDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "ReverbDlg.h"
// CReverbDlg 对话框
IMPLEMENT_DYNAMIC(CReverbDlg, CTabDlg)
CReverbDlg::CReverbDlg(CWnd* pParent /*=NULL*/)
: CTabDlg(IDD_REVERB_DIALOG, pParent)
{
}
CReverbDlg::~CReverbDlg()
{
}
void CReverbDlg... | 4,194 | C++ | .cpp | 111 | 31.468468 | 116 | 0.704705 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,958 | PlayerToolBar.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/PlayerToolBar.cpp | // ProgressStatic.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "PlayerToolBar.h"
// CPlayerToolBar
IMPLEMENT_DYNAMIC(CPlayerToolBar, CStatic)
CPlayerToolBar::CPlayerToolBar()
: m_theme_color(theApp.m_app_setting_data.theme_color)
{
}
CPlayerToolBar::~CPlayerToolBar()
{
}
void CPlayerT... | 11,356 | C++ | .cpp | 340 | 24.117647 | 155 | 0.591945 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,959 | GdiPlusTool.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/GdiPlusTool.cpp | #include "stdafx.h"
#include "GdiPlusTool.h"
CGdiPlusTool::CGdiPlusTool()
{
}
CGdiPlusTool::~CGdiPlusTool()
{
}
Gdiplus::Color CGdiPlusTool::COLORREFToGdiplusColor(COLORREF color, BYTE alpha /*= 255*/)
{
return Gdiplus::Color(alpha, GetRValue(color), GetGValue(color), GetBValue(color));
}
COLORREF CGdiPlusToo... | 1,762 | C++ | .cpp | 49 | 31.55102 | 89 | 0.651753 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,960 | MediaLibSettingDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaLibSettingDlg.cpp | // MediaLibSettingDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "MediaLibSettingDlg.h"
#include "MusicPlayerCmdHelper.h"
#include "CleanupRangeDlg.h"
#include "SongDataManager.h"
#include "COSUPlayerHelper.h"
#include "FilePathHelper.h"
// CMediaLibSettingDlg 对话框
IMPLEMENT_DYNAMIC(CMediaLi... | 30,883 | C++ | .cpp | 566 | 47.392226 | 151 | 0.702509 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,961 | FormatConvertDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FormatConvertDlg.cpp | // FormatConvertDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "FormatConvertDlg.h"
#include "BassCore.h"
#include "MusicPlayerCmdHelper.h"
#include "SongDataManager.h"
#include "FileNameFormDlg.h"
#include "MP3EncodeCfgDlg.h"
#include "WmaEncodeCfgDlg.h"
#include "OggEncod... | 41,130 | C++ | .cpp | 942 | 35.330149 | 153 | 0.671006 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,962 | CUIDrawer.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CUIDrawer.cpp | #include "stdafx.h"
#include "CUIDrawer.h"
#include "MusicPlayer2.h"
#include "Player.h"
CUIDrawer::CUIDrawer(UIColors& colors)
: m_colors(colors)
{
}
CUIDrawer::~CUIDrawer()
{
}
void CUIDrawer::SetLyricFont(CFont* lyric_font, CFont* lyric_tr_font)
{
m_lyric_font = lyric_font;
m_lyric_tr_font = lyric_tr... | 23,667 | C++ | .cpp | 460 | 36.819565 | 201 | 0.594179 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,963 | CortanaLyric.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CortanaLyric.cpp | #include "stdafx.h"
#include "CortanaLyric.h"
#include "SongInfoHelper.h"
#include "CPlayerUIBase.h"
#include "CPlayerUIHelper.h"
#include "Player.h"
#include "WinVersionHelper.h"
CCriticalSection CCortanaLyric::m_critical;
CCortanaLyric::CCortanaLyric()
{
m_draw.SetForCortanaLyric();
}
CCortanaLyric::~CCortanaLyr... | 20,564 | C++ | .cpp | 462 | 32.694805 | 205 | 0.612578 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,964 | UIWindow.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/UIWindow.cpp | #include "stdafx.h"
#include "UIWindow.h"
#include "MusicPlayer2.h"
#include "MusicPlayerDlg.h"
IPlayerUI* CUIWindow::GetCurUi() const
{
IPlayerUI* minimode_ui{};
CMusicPlayerDlg* pDlg = CMusicPlayerDlg::GetInstance();
if (pDlg != nullptr && pDlg->IsMiniMode())
minimode_ui = pDlg->GetMinimodeDlg()-... | 8,734 | C++ | .cpp | 211 | 30.535545 | 187 | 0.674204 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,965 | SongInfoHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SongInfoHelper.cpp | #include "stdafx.h"
#include "SongInfoHelper.h"
#include "Common.h"
#include "AudioCommon.h"
#include "MusicPlayer2.h"
CString CSongInfoHelper::GetBitrateString(const SongInfo& song)
{
CString str;
if (song.bitrate == 0)
{
str = _T("-");
}
else
{
str.Format(_T("%d kbps"), song.b... | 4,410 | C++ | .cpp | 114 | 31.710526 | 117 | 0.650159 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,966 | CoverDownloadCommon.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CoverDownloadCommon.cpp | #include "stdafx.h"
#include "CoverDownloadCommon.h"
CCoverDownloadCommon::CCoverDownloadCommon()
{
}
CCoverDownloadCommon::~CCoverDownloadCommon()
{
}
wstring CCoverDownloadCommon::GetAlbumCoverURL(const wstring & song_id)
{
if(song_id.empty())
return wstring();
//获取专辑封面接口的URL
wchar_t buff[256];
swprintf_s(... | 1,102 | C++ | .cpp | 37 | 26.837838 | 127 | 0.714006 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,967 | UserUi.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/UserUi.cpp | #include "stdafx.h"
#include "UserUi.h"
#include "UiSearchBox.h"
CUserUi::CUserUi(CWnd* pMainWnd, const std::wstring& xml_path)
: CPlayerUIBase(theApp.m_ui_data, pMainWnd), m_xml_path(xml_path)
{
size_t length;
const char* xml_contents = CCommon::GetFileContent(m_xml_path.c_str(), length);
LoadFromCont... | 38,115 | C++ | .cpp | 892 | 31.067265 | 186 | 0.576913 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,968 | MenuMgr.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MenuMgr.cpp | #include "stdafx.h"
#include "MusicPlayer2.h"
#include "MenuMgr.h"
#include "WinVersionHelper.h"
class MenuMgr::MenuBase
{
public:
MenuBase(MenuMgr* pMenuMgr, MenuMgr::MenuType menu_type)
: m_pMenuMgr(pMenuMgr), m_menu_type(menu_type) {}
~MenuBase() {}
void CreateMenu(bool is_popup, bool add_acce... | 51,208 | C++ | .cpp | 997 | 42.242728 | 143 | 0.67508 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,969 | FileNameFormDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FileNameFormDlg.cpp | // FileNameFormDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "FileNameFormDlg.h"
// CFileNameFormDlg 对话框
IMPLEMENT_DYNAMIC(CFileNameFormDlg, CTagSelBaseDlg)
CFileNameFormDlg::CFileNameFormDlg(CWnd* pParent)
: CTagSelBaseDlg(false, pParent)
{
}
CFileNameFormDlg::~CFileNameFormDlg()
{
... | 1,223 | C++ | .cpp | 41 | 25.804878 | 70 | 0.766607 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,971 | SliderCtrlEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SliderCtrlEx.cpp | // SliderCtrlEx.cpp: 实现文件
//
#include "stdafx.h"
#include "SliderCtrlEx.h"
// CSliderCtrlEx
IMPLEMENT_DYNAMIC(CSliderCtrlEx, CSliderCtrl)
CSliderCtrlEx::CSliderCtrlEx()
{
}
CSliderCtrlEx::~CSliderCtrlEx()
{
}
void CSliderCtrlEx::SetMouseWheelEnable(bool enable)
{
m_mouse_wheel_enable = enable;
}
BEGIN_MES... | 926 | C++ | .cpp | 32 | 22.1875 | 72 | 0.738961 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,972 | TagSelBaseDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TagSelBaseDlg.cpp | // TagModeSelectBaseDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "TagSelBaseDlg.h"
#include "FilePathHelper.h"
#include "IniHelper.h"
// CTagSelBaseDlg 对话框
IMPLEMENT_DYNAMIC(CTagSelBaseDlg, CBaseDialog)
const wstring CTagSelBaseDlg::FORMULAR_TITLE = L"%(Title)";
const wstring CTagSelBase... | 15,573 | C++ | .cpp | 375 | 33.573333 | 210 | 0.683005 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,973 | LyricEditDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/LyricEditDlg.cpp | // LyricEditDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "LyricEditDlg.h"
#include "FilterHelper.h"
#include "COSUPlayerHelper.h"
// CLyricEditDlg 对话框
IMPLEMENT_DYNAMIC(CLyricEditDlg, CBaseDialog)
CLyricEditDlg::CLyricEditDlg(CWnd* pParent /*=NULL*/)
: CBaseDialog... | 38,365 | C++ | .cpp | 984 | 29.89939 | 180 | 0.643411 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,974 | FolderPropertiesDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FolderPropertiesDlg.cpp | // FolderPropertiesDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "FolderPropertiesDlg.h"
// CFolderPropertiesDlg 对话框
IMPLEMENT_DYNAMIC(CFolderPropertiesDlg, CSimplePropertiesDlg)
CFolderPropertiesDlg::CFolderPropertiesDlg(const PathInfo& folder_info, CWnd* pParent /*=nullptr*/)
: CSimp... | 4,070 | C++ | .cpp | 64 | 58.671875 | 243 | 0.721529 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,975 | PropertyAdvancedDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/PropertyAdvancedDlg.cpp | // PropertyAdvancedDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "PropertyAdvancedDlg.h"
#include "AudioTag.h"
// CPropertyAdvancedDlg 对话框
IMPLEMENT_DYNAMIC(CPropertyAdvancedDlg, CTabDlg)
CPropertyAdvancedDlg::CPropertyAdvancedDlg(vector<SongInfo>& all_song_info, int& index, CWnd* pParent... | 5,096 | C++ | .cpp | 139 | 30.532374 | 129 | 0.701159 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,976 | ChinesePingyinRes.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/ChinesePingyinRes.cpp | #include "stdafx.h"
#include "ChinesePingyinRes.h"
#include "Common.h"
#include "resource.h"
CChinesePingyinRes::CChinesePingyinRes()
{
}
CChinesePingyinRes::~CChinesePingyinRes()
{
}
void CChinesePingyinRes::Init()
{
//载入资源
std::wstring pingyin_res = CCommon::GetTextResource(IDR_CHINESE_PINGYIN, CodeType::U... | 2,388 | C++ | .cpp | 73 | 24.90411 | 114 | 0.619457 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,977 | RegFileRelate.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/RegFileRelate.cpp | #include "stdafx.h"
#include "RegFileRelate.h"
CRegFileRelate::CRegFileRelate()
{
TCHAR buff[MAX_PATH];
GetModuleFileName(NULL, buff, MAX_PATH);
m_model_path = buff;
}
CRegFileRelate::~CRegFileRelate()
{
}
void CRegFileRelate::SetModelPath(LPCTSTR model_path)
{
m_model_path = model_path;
}
void CR... | 4,948 | C++ | .cpp | 147 | 26.394558 | 114 | 0.620035 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,978 | TinyXml2Helper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TinyXml2Helper.cpp | #include "stdafx.h"
#include "TinyXml2Helper.h"
#include "Common.h"
bool CTinyXml2Helper::LoadXmlFile(tinyxml2::XMLDocument& doc, const wchar_t* file_path)
{
//由于XMLDocument::LoadFile函数不支持Unicode,因此这里自行读取文件内容,并调用XMLDocument::Parse函数解析
size_t length;
const char* xml_contents = CCommon::GetFileContent(file_p... | 2,314 | C++ | .cpp | 76 | 24.75 | 113 | 0.652374 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,979 | PlaylistMgr.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/PlaylistMgr.cpp | #include "stdafx.h"
#include "PlaylistMgr.h"
#include "MusicPlayer2.h"
#include "Playlist.h"
#include "FilePathHelper.h"
#include "Player.h"
CPlaylistMgr CPlaylistMgr::m_instance;
CPlaylistMgr::CPlaylistMgr()
{
}
CPlaylistMgr::~CPlaylistMgr()
{
}
CPlaylistMgr& CPlaylistMgr::Instance()
{
return m_instance;
}
v... | 20,919 | C++ | .cpp | 591 | 27.781726 | 212 | 0.635129 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,980 | FilterHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FilterHelper.cpp | #include "stdafx.h"
#include "FilterHelper.h"
#include "MusicPlayer2.h"
#include "Playlist.h"
#include "Lyric.h"
#include "AudioCommon.h"
wstring FilterHelper::GetAudioFileFilter()
{
wstring filter = theApp.m_str_table.LoadText(L"TXT_FILTER_ALL_SUPPORTED_AUDIO_FORMAT") + BulidExtFilter(CAudioCommon::m_all_surpport... | 3,112 | C++ | .cpp | 74 | 38.189189 | 151 | 0.676471 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,981 | BaseDialog.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/BaseDialog.cpp | // BaseDialog.cpp : 实现文件
//
#include "stdafx.h"
#include "BaseDialog.h"
#include "IniHelper.h"
#include "MusicPlayer2.h"
// CBaseDialog 对话框
std::map<CString, HWND> CBaseDialog::m_unique_hwnd;
IMPLEMENT_DYNAMIC(CBaseDialog, CDialog)
CBaseDialog::CBaseDialog(UINT nIDTemplate, CWnd* pParent /*=NULL*/)
: CDialog(nI... | 14,030 | C++ | .cpp | 376 | 27.571809 | 149 | 0.626844 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,982 | md5.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/md5.cpp | #include "stdafx.h"
/*
* Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm
* and modified slightly to be functionally identical but condensed into control structures.
*/
#include "md5.h"
/*
* Constants defined by the MD5 algorithm
*/
#define A 0x67452301
#define B 0xefcdab89
#define C 0x98... | 6,497 | C++ | .cpp | 187 | 27.149733 | 124 | 0.538547 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,983 | MusicPlayerCmdHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MusicPlayerCmdHelper.cpp | #include "stdafx.h"
#include "MusicPlayerCmdHelper.h"
#include "InternetCommon.h"
#include "Player.h"
#include "MusicPlayer2.h"
#include "MusicPlayerDlg.h"
#include "InputDlg.h"
#include "Playlist.h"
#include "AddToPlaylistDlg.h"
#include "AudioCommon.h"
#include "COSUPlayerHelper.h"
#include "SongDataManager.h"
#inclu... | 60,172 | C++ | .cpp | 1,373 | 32.531682 | 180 | 0.625096 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,984 | OptionsDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/OptionsDlg.cpp | // OptionsDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "OptionsDlg.h"
// COptionsDlg 对话框
IMPLEMENT_DYNAMIC(COptionsDlg, CBaseDialog)
COptionsDlg::COptionsDlg(CWnd* pParent /*=NULL*/)
: CBaseDialog(IDD_OPTIONS_DIALOG, pParent)
{
}
COptionsDlg::~COptionsDlg()
{
}
CString COptionsDlg::... | 4,464 | C++ | .cpp | 130 | 28.861538 | 132 | 0.691965 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,985 | MusicPlayer2.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MusicPlayer2.cpp |
// MusicPlayer2.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "WinVersionHelper.h"
#include "MusicPlayerDlg.h"
#include "MessageDlg.h"
#include "crashtool.h"
#include <Gdiplus.h>
#include "UpdateHelper.h"
#include "MusicPlayerCmdHelper.h"
#include "SongDataManager.h"
#include "PlaylistMg... | 31,593 | C++ | .cpp | 729 | 31.788752 | 177 | 0.64274 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,986 | MoreRecentItemDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MoreRecentItemDlg.cpp | // AddToPlaylistDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "MoreRecentItemDlg.h"
#include "FilePathHelper.h"
#include "MediaLibPlaylistMgr.h"
#include "MusicPlayerCmdHelper.h"
#include "FolderPropertiesDlg.h"
#include "PlaylistPropertiesDlg.h"
#include "MediaLibItemPropertiesDlg.h"
// CM... | 11,149 | C++ | .cpp | 278 | 33.093525 | 159 | 0.685122 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,987 | AudioTagOld.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/AudioTagOld.cpp | #include "stdafx.h"
#include "AudioTagOld.h"
#include "FilePathHelper.h"
#include "Common.h"
const string jpg_head{ '\xff', '\xd8', '\xff' };
const string jpg_tail{ '\xff', '\xd9' };
const string png_head{ '\x89', '\x50', '\x4e', '\x47' };
const string png_tail{ '\x49', '\x45', '\x4e', '\x44', '\xae', '\x42', '\x60', ... | 22,411 | C++ | .cpp | 613 | 30.541599 | 157 | 0.660111 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,988 | UIElement.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/UIElement.cpp | #include "stdafx.h"
#include "UIElement.h"
#include "MusicPlayer2.h"
#include "MusicPlayerDlg.h"
#include "SongInfoHelper.h"
#include "RecentFolderAndPlaylist.h"
#include "UiMediaLibItemMgr.h"
#include "UserUi.h"
#include "MusicPlayerCmdHelper.h"
#include "UIWindowCmdHelper.h"
#include <stack>
#include "UiSearchBox.h"
... | 103,781 | C++ | .cpp | 3,203 | 23.86419 | 167 | 0.597105 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,989 | FfmpegCore.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FfmpegCore.cpp | #include "stdafx.h"
#include "FfmpegCore.h"
#include "AudioCommon.h"
#include "Common.h"
#include "MusicPlayer2.h"
#include "Player.h"
#define ft2ts(t) (((size_t)t.dwHighDateTime << 32) | (size_t)t.dwLowDateTime)
static std::wstring last_ffmpeg_core_error_cache;
CFfmpegCore::CFfmpegCore() {
handle = nullptr;
... | 29,827 | C++ | .cpp | 646 | 39.789474 | 237 | 0.66586 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,990 | BassMixLibrary.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/BassMixLibrary.cpp | #include "stdafx.h"
#include "BassMixLibrary.h"
CBassMixLibrary::CBassMixLibrary()
{
}
CBassMixLibrary::~CBassMixLibrary()
{
}
bool CBassMixLibrary::GetFunction()
{
bool rtn = true;
BASS_Mixer_StreamCreate = (_BASS_Mixer_StreamCreate)::GetProcAddress(m_dll_module, "BASS_Mixer_StreamCreate");
BASS_Mixer... | 550 | C++ | .cpp | 17 | 29.470588 | 126 | 0.746667 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,991 | SongDataManager.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SongDataManager.cpp | #include "stdafx.h"
#include "SongDataManager.h"
#include "MusicPlayer2.h"
#include "FilePathHelper.h"
CSongDataManager CSongDataManager::m_instance;
CSongDataManager::CSongDataManager()
{
}
CSongDataManager::~CSongDataManager()
{
}
CSongDataManager& CSongDataManager::GetInstance()
{
return m_instance;
}
void ... | 14,126 | C++ | .cpp | 432 | 23.412037 | 111 | 0.554922 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,992 | TagFromNameDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TagFromNameDlg.cpp | // TagFromNameDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "TagFromNameDlg.h"
// CTagFromNameDlg 对话框
IMPLEMENT_DYNAMIC(CTagFromNameDlg, CTagSelBaseDlg)
CTagFromNameDlg::CTagFromNameDlg(CWnd* pParent)
: CTagSelBaseDlg(true, pParent)
{
}
CTagFromNameDlg::~CTagFromNameDlg()
{
}
CStrin... | 1,207 | C++ | .cpp | 41 | 25.414634 | 70 | 0.763206 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,993 | CPlayerUIHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CPlayerUIHelper.cpp | #include "stdafx.h"
#include "CPlayerUIHelper.h"
#include "MusicPlayer2.h"
#include "Player.h"
CPlayerUIHelper::CPlayerUIHelper()
{
}
CPlayerUIHelper::~CPlayerUIHelper()
{
}
UIColors CPlayerUIHelper::GetUIColors(const ColorTable & colorTable, bool dark, bool draw_alpha)
{
UIColors colors{};
//if (theApp.m_... | 4,214 | C++ | .cpp | 88 | 40.443182 | 171 | 0.694438 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,994 | TestDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TestDlg.cpp | // TestDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "TestDlg.h"
#include "FilterHelper.h"
#include "IconMgr.h"
// CTestDlg 对话框
IMPLEMENT_DYNAMIC(CTestDlg, CBaseDialog)
CTestDlg::CTestDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_TEST_DIALOG, pParent)
{
}
CTestDlg::~CTestDlg()
{
... | 5,922 | C++ | .cpp | 125 | 40.496 | 146 | 0.661738 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,995 | MediaLibStatisticsDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaLibStatisticsDlg.cpp | // MediaLibStatisticsDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "MediaLibStatisticsDlg.h"
#include "SongDataManager.h"
#include "MediaLibHelper.h"
// CMediaLibStatisticsDlg 对话框
IMPLEMENT_DYNAMIC(CMediaLibStatisticsDlg, CSimplePropertiesDlg)
CMediaLibStatisticsDlg::CMediaLibStatisticsDlg... | 2,669 | C++ | .cpp | 60 | 37.133333 | 141 | 0.703239 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,996 | ScintillaEditView.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/ScintillaEditView.cpp | // ScintillaEditView.cpp: 实现文件
//
#include "stdafx.h"
#include "ScintillaEditView.h"
#include "Common.h"
#include "MusicPlayer2.h"
// CScintillaEditView
IMPLEMENT_DYNCREATE(CScintillaEditView, CView)
CScintillaEditView::CScintillaEditView()
{
}
CScintillaEditView::~CScintillaEditView()
{
}
BEGIN_MESSAGE_MAP(CSc... | 13,941 | C++ | .cpp | 464 | 25.077586 | 111 | 0.710616 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
49,998 | CommonDialogMgr.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CommonDialogMgr.cpp | #include "stdafx.h"
#include "CommonDialogMgr.h"
#include "MusicPlayer2.h"
CommonDialogMgr::CommonDialogMgr()
{
}
CommonDialogMgr::~CommonDialogMgr()
{
}
int CommonDialogMgr::DeleteAFile(HWND hwnd, wstring file)
{
file.push_back(L'\0'); // pFrom必须以两个\0结尾
static wstring title_delete = the... | 2,921 | C++ | .cpp | 82 | 29.878049 | 88 | 0.650705 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
49,999 | PlaylistPropertiesDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/PlaylistPropertiesDlg.cpp | // PlaylistPropertiesDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "PlaylistPropertiesDlg.h"
// CPlaylistPropertiesDlg 对话框
IMPLEMENT_DYNAMIC(CPlaylistPropertiesDlg, CSimplePropertiesDlg)
CPlaylistPropertiesDlg::CPlaylistPropertiesDlg(const PlaylistInfo& playlist_info, CWnd* pParent /*=null... | 2,286 | C++ | .cpp | 42 | 49.547619 | 199 | 0.75497 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,000 | EqualizerDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/EqualizerDlg.cpp | // EqualizerDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "EqualizerDlg.h"
#include "IniHelper.h"
// CEqualizerDlg 对话框
IMPLEMENT_DYNAMIC(CEqualizerDlg, CTabDlg)
CEqualizerDlg::CEqualizerDlg(CWnd* pParent /*=NULL*/)
: CTabDlg(IDD_EQUALIZER_DIALOG, pParent)
{
}
CE... | 8,040 | C++ | .cpp | 205 | 29.687805 | 96 | 0.631113 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,001 | SongInfo.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SongInfo.cpp | #include "stdafx.h"
#include "SongInfo.h"
#include "MusicPlayer2.h"
bool SongInfo::NoOnlineLyric() const
{
return CCommon::GetNumberBit(flags, 0);
}
void SongInfo::SetNoOnlineLyric(bool val)
{
CCommon::SetNumberBit(flags, 0, val);
}
bool SongInfo::NoOnlineAlbumCover() const
{
return CCommon::GetNumberBi... | 10,415 | C++ | .cpp | 328 | 27.185976 | 151 | 0.688557 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,002 | SimplePropertiesDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SimplePropertiesDlg.cpp | // SimplePropertiesDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "resource.h"
#include "MusicPlayer2.h"
#include "SimplePropertiesDlg.h"
// CSimplePropertiesDlg 对话框
IMPLEMENT_DYNAMIC(CSimplePropertiesDlg, CBaseDialog)
CSimplePropertiesDlg::CSimplePropertiesDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_SELEC... | 2,147 | C++ | .cpp | 62 | 28.774194 | 104 | 0.695829 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,003 | LastFMDataArchive.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/LastFMDataArchive.cpp | #include "stdafx.h"
#include "LastFMDataArchive.h"
#include "MusicPlayer2.h"
#include <time.h>
void LastFMTrack::Clear() {
artist = L"";
track = L"";
timestamp = 0;
album = L"";
streamId = L"";
chosenByUser = true;
trackNumber = 0;
mbid = L"";
albumArtist = L"";
duration.fromInt... | 3,965 | C++ | .cpp | 150 | 20.42 | 111 | 0.568952 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,004 | AudioTag.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/AudioTag.cpp | #include "stdafx.h"
#include "AudioTag.h"
#include "TagLibHelper.h"
#include "AudioTagOld.h"
#include "CueFile.h"
#include "FilePathHelper.h"
CAudioTag::CAudioTag(SongInfo& song_info, HSTREAM hStream)
:m_song_info{ song_info }, m_hStream{ hStream }
{
ASSERT(!m_song_info.file_path.empty());
//获... | 19,762 | C++ | .cpp | 556 | 26.289568 | 125 | 0.608994 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,005 | AllMediaDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/AllMediaDlg.cpp | // AllMediaDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "AllMediaDlg.h"
#include "MusicPlayerCmdHelper.h"
#include "PropertyDlg.h"
#include "SongDataManager.h"
// CAllMediaDlg 对话框
IMPLEMENT_DYNAMIC(CAllMediaDlg, CMediaLibTabDlg)
CAllMediaDlg::CAllMediaDlg(CAllMediaDlg... | 19,892 | C++ | .cpp | 500 | 28.236 | 138 | 0.585214 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,006 | MiniModeUserUi.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MiniModeUserUi.cpp | #include "stdafx.h"
#include "MiniModeUserUi.h"
#include "MiniModeDlg.h"
CMiniModeUserUi::CMiniModeUserUi(CWnd* pMainWnd, const std::wstring& xml_path)
: CUserUi(pMainWnd, xml_path)
{
InitUiPlaylist();
}
CMiniModeUserUi::CMiniModeUserUi(CWnd* pMainWnd, UINT id)
: CUserUi(pMainWnd, id)
{
InitUiPlaylist... | 6,568 | C++ | .cpp | 184 | 25.570652 | 145 | 0.597479 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,007 | MediaLibTabDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaLibTabDlg.cpp | #include "stdafx.h"
#include "MediaLibTabDlg.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "MusicPlayerCmdHelper.h"
#include "PropertyDlg.h"
#include "SongDataManager.h"
#include "COSUPlayerHelper.h"
IMPLEMENT_DYNAMIC(CMediaLibTabDlg, CTabDlg)
CMediaLibTabDlg::CMediaLibTabDlg(UINT nIDTemplate, CWnd *pPar... | 10,416 | C++ | .cpp | 276 | 28.913043 | 177 | 0.667459 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,008 | Lyric.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/Lyric.cpp | #include "stdafx.h"
#include "Lyric.h"
#include "FilePathHelper.h"
#include "MusicPlayer2.h"
const vector<wstring> CLyrics::m_surpported_lyric{ L"lrc", L"ksc", L"vtt" };
CLyrics::CLyrics(const wstring& file_name, const LyricType& lyric_type) : m_file{ file_name }, m_lyric_type{ lyric_type }
{
// 当未指定歌词类型时按扩展名处理
... | 44,312 | C++ | .cpp | 1,023 | 28.630499 | 178 | 0.502809 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,009 | TagLibHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TagLibHelper.cpp | #include "stdafx.h"
#include "TagLibHelper.h"
#include "taglib/mp4file.h"
#include "taglib/mp4coverart.h"
#include "taglib/flacfile.h"
#include "taglib/flacpicture.h"
#include "taglib/mpegfile.h"
#include "Common.h"
#include "FilePathHelper.h"
#include "taglib/attachedpictureframe.h"
#include "taglib/id3v2tag.h"
#inclu... | 51,451 | C++ | .cpp | 1,564 | 26.9789 | 142 | 0.64526 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,010 | AddToPlaylistDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/AddToPlaylistDlg.cpp | // AddToPlaylistDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "AddToPlaylistDlg.h"
#include "PlaylistMgr.h"
#include "FilePathHelper.h"
// CAddToPlaylistDlg 对话框
IMPLEMENT_DYNAMIC(CAddToPlaylistDlg, CBaseDialog)
CAddToPlaylistDlg::CAddToPlaylistDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialo... | 4,211 | C++ | .cpp | 123 | 27.398374 | 96 | 0.704696 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,011 | MediaLibHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaLibHelper.cpp | #include "stdafx.h"
#include "MediaLibHelper.h"
#include "MusicPlayer2.h"
#include "SongDataManager.h"
#include "FilePathHelper.h"
CMediaClassifier::CMediaClassifier(ClassificationType type, bool hide_only_one_classification)
: m_type(type), m_hide_only_one_classification(hide_only_one_classification)
{
}
CMedia... | 8,944 | C++ | .cpp | 224 | 25.473214 | 131 | 0.493011 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,012 | EditableListBox.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/EditableListBox.cpp | #include "stdafx.h"
#include "Common.h"
#include "EditableListBox.h"
#define IDC_ITEM_EDITBOX 1991
IMPLEMENT_DYNAMIC(CEditableListBox, CListBoxEnhanced)
CEditableListBox::CEditableListBox()
{
}
CEditableListBox::~CEditableListBox()
{
}
void CEditableListBox::Edit(int row)
{
CString last_row_text = GetItemText... | 2,917 | C++ | .cpp | 80 | 27.1625 | 84 | 0.693383 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,013 | FontDialogEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FontDialogEx.cpp | // FontDialogEx.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "FontDialogEx.h"
// CFontDialogEx
IMPLEMENT_DYNAMIC(CFontDialogEx, CFontDialog)
CFontDialogEx::CFontDialogEx(LPLOGFONT lplfInitial, bool show_color, DWORD dwFlags, CDC* pdcPrinter, CWnd* pParentWnd) :
CFontDialog(lplfInitial, dwFla... | 1,093 | C++ | .cpp | 37 | 24.162162 | 120 | 0.724818 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,014 | BASSMidiLibrary.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/BASSMidiLibrary.cpp | #include "stdafx.h"
#include "BASSMidiLibrary.h"
CBASSMidiLibrary::CBASSMidiLibrary()
{
}
CBASSMidiLibrary::~CBASSMidiLibrary()
{
UnInit();
}
bool CBASSMidiLibrary::GetFunction()
{
bool rtn = true;
//获取函数入口
BASS_MIDI_FontInit = (_BASS_MIDI_FontInit)::GetProcAddress(m_dll_module, "BASS_MIDI_FontInit");... | 1,205 | C++ | .cpp | 28 | 38.571429 | 117 | 0.716157 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,015 | ListCtrlEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/ListCtrlEx.cpp | #include "stdafx.h"
#include "ListCtrlEx.h"
#include "MusicPlayer2.h"
IMPLEMENT_DYNAMIC(CListCtrlEx, CListCtrl)
CListCtrlEx::CListCtrlEx()
: m_theme_color(theApp.m_app_setting_data.theme_color)
{
m_drag_cursor = AfxGetApp()->LoadCursor(IDC_DRAG_CURSOR);
}
CListCtrlEx::~CListCtrlEx()
{
DestroyCursor(m_d... | 16,671 | C++ | .cpp | 477 | 24.092243 | 122 | 0.597949 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,016 | CTest.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CTest.cpp | #include "stdafx.h"
#include "CTest.h"
#include "InternetCommon.h"
#include "COSUPlayerHelper.h"
#include "RegFileRelate.h"
#include "MediaLibHelper.h"
#include "IniHelper.h"
#include "MusicPlayerCmdHelper.h"
#include "MessageDlg.h"
#include "TagSelBaseDlg.h"
#include "TagLibHelper.h"
#include "Player.h"
#include "CueF... | 7,731 | C++ | .cpp | 225 | 29.746667 | 178 | 0.664619 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,017 | SoundEffectDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SoundEffectDlg.cpp | // SoundEffectDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "SoundEffectDlg.h"
// CSoundEffectDlg 对话框
IMPLEMENT_DYNAMIC(CSoundEffectDlg, CBaseDialog)
CSoundEffectDlg::CSoundEffectDlg(CWnd* pParent /*=NULL*/)
: CBaseDialog(IDD_SOUND_EFFECT_DIALOG, pParent)
{
}
CSoundEffectDlg::~CSou... | 2,079 | C++ | .cpp | 63 | 27.031746 | 119 | 0.711901 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,018 | StaticEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/StaticEx.cpp | #include "stdafx.h"
#include "StaticEx.h"
#include "DrawCommon.h"
#include "MusicPlayer2.h"
CStaticEx::CStaticEx()
{
}
CStaticEx::~CStaticEx()
{
}
void CStaticEx::SetTextColor(COLORREF text_color)
{
m_text_color = text_color;
}
void CStaticEx::SetBackgroundColor(COLORREF back_color)
{
m_back_color = back_color;... | 1,978 | C++ | .cpp | 70 | 23.828571 | 129 | 0.70838 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,019 | UiSearchBox.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/UiSearchBox.cpp | // UiSearchBox.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "afxdialogex.h"
#include "UiSearchBox.h"
#include "UIElement.h"
#include "MusicPlayerDlg.h"
// CUiSearchBox 对话框
IMPLEMENT_DYNAMIC(CUiSearchBox, CDialog)
CUiSearchBox::CUiSearchBox(CWnd* pParent)
: CDialog(IDD_UI_SEARCH_BOX_DIALOG, ... | 4,135 | C++ | .cpp | 125 | 25.936 | 153 | 0.681183 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,020 | MediaTransControls.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaTransControls.cpp | #include "stdafx.h"
#include "MediaTransControls.h"
#ifndef DISABLE_MEDIA_TRANS_CONTROLS
#include "MediaTransControlsImpl.h"
#include "player.h"
#include "WinVersionHelper.h"
#include "resource.h"
MediaTransControls::MediaTransControls()
{
}
MediaTransControls::~MediaTransControls()
{
}
bool MediaTransControls::In... | 5,769 | C++ | .cpp | 142 | 34.514085 | 133 | 0.707784 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,021 | GaussBlur.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/GaussBlur.cpp | #include "stdafx.h"
#include "GaussBlur.h"
CGaussBlur::CGaussBlur()
{
}
CGaussBlur::~CGaussBlur()
{
if (m_pTempl != NULL)
free(m_pTempl);
}
void CGaussBlur::SetSigma(double sigma)
{
int i;
m_sigma = sigma;
m_r = (int)(m_sigma * 3 + 0.5);
if (m_r <= 0) m_r = 1;
//分配模板
LPVOID pOldTempl = m_pTempl;
m_pTemp... | 5,279 | C++ | .cpp | 207 | 21.425121 | 113 | 0.63749 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,022 | SupportedFormatDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SupportedFormatDlg.cpp | // SupportedFormatDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "SupportedFormatDlg.h"
#include "AudioCommon.h"
// CSupportedFormatDlg 对话框
IMPLEMENT_DYNAMIC(CSupportedFormatDlg, CBaseDialog)
CSupportedFormatDlg::CSupportedFormatDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_SUPPORT... | 3,942 | C++ | .cpp | 92 | 36.380435 | 144 | 0.694199 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,023 | CListBoxEnhanced.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CListBoxEnhanced.cpp | #include "stdafx.h"
#include "CListBoxEnhanced.h"
#include "MusicPlayer2.h"
CListBoxEnhanced::CListBoxEnhanced()
: CListCtrlEx()
{
}
CListBoxEnhanced::~CListBoxEnhanced()
{
}
void CListBoxEnhanced::AddString(LPCTSTR str)
{
int cnt = GetItemCount();
InsertItem(cnt, str);
}
CString CListBoxEnhanced::GetItemText(... | 2,942 | C++ | .cpp | 85 | 28.341176 | 103 | 0.726542 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,024 | LyricRelateDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/LyricRelateDlg.cpp | // LyricRelateDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "LyricRelateDlg.h"
#include "SongInfoHelper.h"
#include "MusicPlayerCmdHelper.h"
#include "SongDataManager.h"
#include "FilterHelper.h"
#include "CommonDialogMgr.h"
// CLyricRelateDlg 对话框
IMPLEMENT_DYNAMIC(CLyr... | 9,767 | C++ | .cpp | 234 | 35.598291 | 124 | 0.70997 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,025 | MiniModeDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MiniModeDlg.cpp | // MiniModeDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "MiniModeDlg.h"
#include "MusicPlayerDlg.h"
#include "MiniModeUserUi.h"
#include "SongInfoHelper.h"
#include "WinVersionHelper.h"
// CMiniModeDlg 对话框
IMPLEMENT_DYNAMIC(CMiniModeDlg, CDialogEx)
CMiniModeDlg::CMiniModeDlg(int& item_se... | 24,043 | C++ | .cpp | 639 | 28.200313 | 154 | 0.646083 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,026 | SimpleXML.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/SimpleXML.cpp | #include "stdafx.h"
#include "SimpleXML.h"
CSimpleXML::CSimpleXML(const wstring & xml_path)
{
ifstream file_stream{ xml_path };
if (file_stream.fail())
{
return;
}
//读取文件内容
string xml_str;
while (!file_stream.eof())
{
xml_str.push_back(file_stream.get());
}
xml_str.pop_back();
if (!xml_str.empty() && x... | 1,412 | C++ | .cpp | 54 | 23.5 | 103 | 0.695486 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,027 | PropertyTabDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/PropertyTabDlg.cpp | // PropertyDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "PropertyTabDlg.h"
#include "COSUPlayerHelper.h"
#include "PropertyDlgHelper.h"
#include "SongDataManager.h"
#include "GetTagOnlineDlg.h"
#include "MusicPlayerCmdHelper.h"
#include "TagFromNameDlg.h"
#include "SongI... | 33,706 | C++ | .cpp | 799 | 33.360451 | 234 | 0.648647 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,028 | TabDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/TabDlg.cpp | #include "stdafx.h"
#include "TabDlg.h"
#include "MusicPlayer2.h"
#include "WinVersionHelper.h"
IMPLEMENT_DYNAMIC(CTabDlg, CBaseDialog)
CTabDlg::CTabDlg(UINT nIDTemplate, CWnd * pParent) : CBaseDialog(nIDTemplate, pParent)
{
}
CTabDlg::~CTabDlg()
{
}
CWnd* CTabDlg::GetParentWindow()
{
CWnd* pParent = GetParent... | 6,918 | C++ | .cpp | 176 | 27.596591 | 129 | 0.613896 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,029 | CMediaLibDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CMediaLibDlg.cpp | // CMediaLibDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "CMediaLibDlg.h"
#include "MediaLibStatisticsDlg.h"
// CMediaLibDlg 对话框
int CMediaLibDlg::m_last_tab{};
IMPLEMENT_DYNAMIC(CMediaLibDlg, CBaseDialog)
CMediaLibDlg::CMediaLibDlg(int cur_tab, CWnd* pParent /*=nullptr*/)
: CBaseDia... | 10,697 | C++ | .cpp | 239 | 37.527197 | 149 | 0.697102 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,030 | UIWindowCmdHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/UIWindowCmdHelper.cpp | #include "stdafx.h"
#include "UIWindowCmdHelper.h"
#include "Player.h"
#include "UserUi.h"
#include "UiMediaLibItemMgr.h"
#include "MusicPlayerCmdHelper.h"
#include "PropertyDlg.h"
#include "COSUPlayerHelper.h"
#include "PlaylistPropertiesDlg.h"
#include "FolderPropertiesDlg.h"
#include "MediaLibItemPropertiesDlg.h"
C... | 35,614 | C++ | .cpp | 846 | 33.589835 | 202 | 0.659341 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,031 | CommonData.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CommonData.cpp | #include "stdafx.h"
#include "CommonData.h"
#include "MusicPlayer2.h"
bool UIData::ShowWindowMenuBar() const
{
return show_menu_bar && theApp.m_app_setting_data.show_window_frame && !full_screen;
}
bool UIData::ShowUiMenuBar() const
{
return show_menu_bar && !theApp.m_app_setting_data.show_window_frame && !fu... | 1,349 | C++ | .cpp | 47 | 24.212766 | 89 | 0.634467 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,032 | MediaTransControlsImpl.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/MediaTransControlsImpl.cpp | #include "stdafx.h"
#include "MediaTransControlsImpl.h"
#include <shcore.h>
#pragma comment(lib, "RuntimeObject.lib")
#pragma comment(lib, "ShCore.lib")
/// The file content of SystemMediaTransportControlsInterop.h
/// SystemMediaTransportControlsInterop.h can not be found in Win 8.1 SDK
#ifndef ISystemMediaTransport... | 13,058 | C++ | .cpp | 333 | 31.924925 | 221 | 0.655731 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,033 | CleanupRangeDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CleanupRangeDlg.cpp | // CleanupRangeDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "CleanupRangeDlg.h"
#include "Resource.h"
#include "MusicPlayer2.h"
// CCleanupRangeDlg 对话框
IMPLEMENT_DYNAMIC(CCleanupRangeDlg, CBaseDialog)
CCleanupRangeDlg::CCleanupRangeDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_CLEAN_UP_RANGE_DIALOG, pParent)... | 3,654 | C++ | .cpp | 90 | 34.522222 | 153 | 0.70341 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,034 | WmaEncodeCfgDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/WmaEncodeCfgDlg.cpp | // CWmaEncodeCfgDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "WmaEncodeCfgDlg.h"
// CWmaEncodeCfgDlg 对话框
IMPLEMENT_DYNAMIC(CWmaEncodeCfgDlg, CBaseDialog)
CWmaEncodeCfgDlg::CWmaEncodeCfgDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_WMA_ENCODE_CFG_DIALOG, pParent)
{
}
CWmaEncodeC... | 4,802 | C++ | .cpp | 127 | 31.692913 | 93 | 0.693799 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,035 | CDonateDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CDonateDlg.cpp | // CDonateDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "CDonateDlg.h"
// CDonateDlg 对话框
IMPLEMENT_DYNAMIC(CDonateDlg, CBaseDialog)
CDonateDlg::CDonateDlg(CWnd* pParent /*=nullptr*/)
: CBaseDialog(IDD_DONATE_DIALOG, pParent)
{
}
CDonateDlg::~CDonateDlg()
{
}
CString CDonateDlg::Get... | 2,668 | C++ | .cpp | 82 | 26.219512 | 113 | 0.669547 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,036 | PlaySettingsDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/PlaySettingsDlg.cpp | // CPlaySettingsDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "PlaySettingsDlg.h"
#include "FfmpegCore.h"
#include "WinVersionHelper.h"
#include "FilterHelper.h"
// CPlaySettingsDlg 对话框
IMPLEMENT_DYNAMIC(CPlaySettingsDlg, CTabDlg)
CPlaySettingsDlg::CPlaySettingsDlg(CWn... | 18,401 | C++ | .cpp | 336 | 48.544643 | 159 | 0.724805 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,037 | FolderBrowserDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/FolderBrowserDlg.cpp | #include "stdafx.h"
#include "FolderBrowserDlg.h"
#include "MusicPlayer2.h"
CFolderBrowserDlg::CFolderBrowserDlg(HWND hParent)
: m_hParent{ hParent }
{
}
CFolderBrowserDlg::~CFolderBrowserDlg()
{
}
int CFolderBrowserDlg::DoModal()
{
TCHAR szPath[MAX_PATH]; //存放选择的目录路径
CString str;
BROWSEINFO bi;
bi.hwndOwne... | 891 | C++ | .cpp | 39 | 19.230769 | 112 | 0.719603 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,038 | CueFile.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CueFile.cpp | #include "stdafx.h"
#include "CueFile.h"
#include "FilePathHelper.h"
CCueFile::CCueFile(const std::wstring& file_path)
: m_file_path(file_path)
{
string file_content;
if (!CCommon::GetFileContent(m_file_path.c_str(), file_content, 102400))
return;
// cue文件较长可以自动检测是否符合UTF8编码
m_file_content... | 13,986 | C++ | .cpp | 318 | 33.959119 | 194 | 0.592516 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,039 | LyricDownloadCommon.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/LyricDownloadCommon.cpp | #include "stdafx.h"
#include "LyricDownloadCommon.h"
CLyricDownloadCommon::CLyricDownloadCommon()
{
}
CLyricDownloadCommon::~CLyricDownloadCommon()
{
}
bool CLyricDownloadCommon::DownloadLyric(const wstring & song_id, wstring & result, bool download_translate)
{
wstring lyric_url;
if (!download_translate)
lyr... | 2,921 | C++ | .cpp | 83 | 29.084337 | 153 | 0.59629 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,040 | EditEx.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/EditEx.cpp | // EditEx.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "EditEx.h"
// CEditEx
IMPLEMENT_DYNAMIC(CEditEx, CEdit)
CEditEx::CEditEx()
{
}
CEditEx::~CEditEx()
{
}
void CEditEx::ResetModified()
{
SetModify(FALSE);
Invalidate(FALSE);
}
CString CEditEx::GetText() const
{
CString st... | 1,641 | C++ | .cpp | 59 | 22.542373 | 96 | 0.719547 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,041 | CSelectPlaylist.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/CSelectPlaylist.cpp | // CSelectPlaylist.cpp: 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "Player.h"
#include "CSelectPlaylist.h"
#include "InputDlg.h"
#include "Playlist.h"
#include "SongDataManager.h"
#include "RecentFolderAndPlaylist.h"
#include "MusicPlayerCmdHelper.h"
#include "CommonDialogMgr.h"
#include "FilterHel... | 27,918 | C++ | .cpp | 662 | 34.722054 | 202 | 0.697094 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,042 | AboutDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/AboutDlg.cpp | #include "stdafx.h"
#include "MusicPlayer2.h"
#include "AboutDlg.h"
#include "CDonateDlg.h"
#include "MessageDlg.h"
CAboutDlg::CAboutDlg()
: CBaseDialog(IDD_ABOUTBOX)
{
}
CAboutDlg::~CAboutDlg()
{
}
CString CAboutDlg::GetDialogName() const
{
return L"AboutDlg";
}
bool CAboutDlg::InitializeControls()
{
w... | 12,448 | C++ | .cpp | 274 | 37.864964 | 202 | 0.693126 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
50,043 | COSUPlayerHelper.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/COSUPlayerHelper.cpp | #include "stdafx.h"
#include "COSUPlayerHelper.h"
#include "FilePathHelper.h"
#include "AudioCommon.h"
#include "Common.h"
COSUPlayerHelper::COSUPlayerHelper()
{
}
COSUPlayerHelper::~COSUPlayerHelper()
{
}
bool COSUPlayerHelper::IsOsuFolder(const std::wstring & strPath)
{
if (strPath.empty())
return fa... | 9,274 | C++ | .cpp | 255 | 27.270588 | 165 | 0.598532 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
50,044 | DataSettingsDlg.cpp | zhongyang219_MusicPlayer2/MusicPlayer2/DataSettingsDlg.cpp | // DataSettingsDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MusicPlayer2.h"
#include "DataSettingsDlg.h"
#include "UpdateHelper.h"
// CDataSettingsDlg 对话框
IMPLEMENT_DYNAMIC(CDataSettingsDlg, CTabDlg)
CDataSettingsDlg::CDataSettingsDlg(CWnd* pParent /*=NULL*/)
: CTabDlg(IDD_DATA_SETTINGS_DIALOG, pParent)
{
... | 15,141 | C++ | .cpp | 271 | 48.531365 | 177 | 0.726145 | zhongyang219/MusicPlayer2 | 4,592 | 372 | 450 | GPL-3.0 | 9/20/2024, 9:26:26 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.