Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2011-05-15 22:54:44 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2011-05-15 22:54:44 +0400
commit9704199a943cb7f7b4dc19f755dc60d8da55baa6 (patch)
treeb9f8fafbc8bf393ad8e15a3db72e42c6ff8442ef /src/apps/mplayerc/mpciconlib/mpciconlib.cpp
parenta283669d90fd4766dffe734be5a5998b7e57c52d (diff)
legacy branch: merge r3071-r3107 from trunk
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/branches/legacy@3108 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/mpciconlib/mpciconlib.cpp')
-rw-r--r--src/apps/mplayerc/mpciconlib/mpciconlib.cpp318
1 files changed, 168 insertions, 150 deletions
diff --git a/src/apps/mplayerc/mpciconlib/mpciconlib.cpp b/src/apps/mplayerc/mpciconlib/mpciconlib.cpp
index e43b4ec63..63afd8885 100644
--- a/src/apps/mplayerc/mpciconlib/mpciconlib.cpp
+++ b/src/apps/mplayerc/mpciconlib/mpciconlib.cpp
@@ -8,212 +8,230 @@ int main()
int get_icon_index(CString ext)
{
- int iconindex = -1;
+ int iconindex = -1;// IDI_NONE
if(ext.CompareNoCase(_T(".3g2")) == 0) {
+ iconindex = IDI_MOV_ICON;
+ }else if(ext.CompareNoCase(_T(".3gp")) == 0) {
iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".3gp")) == 0) {
- iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".3gp2")) == 0) {
- iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".3gpp")) == 0) {
+ }else if(ext.CompareNoCase(_T(".3gp2")) == 0) {
+ iconindex = IDI_MOV_ICON;
+ }else if(ext.CompareNoCase(_T(".3gpp")) == 0) {
iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".aac")) == 0) {
+ }else if(ext.CompareNoCase(_T(".aac")) == 0) {
iconindex = IDI_AAC_ICON;
- } else if(ext.CompareNoCase(_T(".ac3")) == 0) {
- iconindex = IDI_DVDA_ICON;
- } else if(ext.CompareNoCase(_T(".aif")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ac3")) == 0) {
+ iconindex = IDI_AC3_ICON;
+ }else if(ext.CompareNoCase(_T(".aif")) == 0) {
iconindex = IDI_AIFF_ICON;
- } else if(ext.CompareNoCase(_T(".aifc")) == 0) {
+ }else if(ext.CompareNoCase(_T(".aifc")) == 0) {
iconindex = IDI_AIFF_ICON;
- } else if(ext.CompareNoCase(_T(".aiff")) == 0) {
+ }else if(ext.CompareNoCase(_T(".aiff")) == 0) {
iconindex = IDI_AIFF_ICON;
- } else if(ext.CompareNoCase(_T(".alac")) == 0) {
+ }else if(ext.CompareNoCase(_T(".alac")) == 0) {
iconindex = IDI_ALAC_ICON;
- } else if(ext.CompareNoCase(_T(".amr")) == 0) {
+ }else if(ext.CompareNoCase(_T(".amr")) == 0) {
+ iconindex = IDI_AMR_ICON;
+ }else if(ext.CompareNoCase(_T(".amv")) == 0) {
iconindex = IDI_OTHER_ICON;
- } else if(ext.CompareNoCase(_T(".amv")) == 0) {
- iconindex = IDI_OTHER_ICON;
- } else if(ext.CompareNoCase(_T(".ape")) == 0) {
- iconindex = IDI_NONE;
- } else if(ext.CompareNoCase(_T(".asf")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ape")) == 0) {
+ iconindex = IDI_APE_ICON;
+ }else if(ext.CompareNoCase(_T(".apl")) == 0) {
+ iconindex = IDI_APE_ICON;
+ }else if(ext.CompareNoCase(_T(".asf")) == 0) {
iconindex = IDI_WMV_ICON;
- } else if(ext.CompareNoCase(_T(".asx")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".au")) == 0) {
+ }else if(ext.CompareNoCase(_T(".asx")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".au")) == 0) {
iconindex = IDI_AU_ICON;
- } else if(ext.CompareNoCase(_T(".avi")) == 0) {
+ }else if(ext.CompareNoCase(_T(".avi")) == 0) {
iconindex = IDI_AVI_ICON;
- } else if(ext.CompareNoCase(_T(".bik")) == 0) {
- iconindex = IDI_BIK_ICON;
- } else if(ext.CompareNoCase(_T(".cda")) == 0) {
+ }else if(ext.CompareNoCase(_T(".bdmv")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".bik")) == 0) {
+ iconindex = IDI_BINK_ICON;
+ }else if(ext.CompareNoCase(_T(".cda")) == 0) {
iconindex = IDI_CDA_ICON;
- } else if(ext.CompareNoCase(_T(".d2v")) == 0) {
+ }else if(ext.CompareNoCase(_T(".d2v")) == 0) {
iconindex = IDI_D2V_ICON;
- } else if(ext.CompareNoCase(_T(".divx")) == 0) {
- iconindex = IDI_AVI_ICON;
- } else if(ext.CompareNoCase(_T(".drc")) == 0) {
+ }else if(ext.CompareNoCase(_T(".dat")) == 0) {
+ iconindex = IDI_DAT_ICON;
+ }else if(ext.CompareNoCase(_T(".divx")) == 0) {
+ iconindex = IDI_OTHER_ICON;
+ }else if(ext.CompareNoCase(_T(".drc")) == 0) {
iconindex = IDI_DRC_ICON;
- } else if(ext.CompareNoCase(_T(".dsa")) == 0) {
+ }else if(ext.CompareNoCase(_T(".dsa")) == 0) {
iconindex = IDI_DSM_ICON;
- } else if(ext.CompareNoCase(_T(".dsm")) == 0) {
+ }else if(ext.CompareNoCase(_T(".dsm")) == 0) {
iconindex = IDI_DSM_ICON;
- } else if(ext.CompareNoCase(_T(".dss")) == 0) {
+ }else if(ext.CompareNoCase(_T(".dss")) == 0) {
iconindex = IDI_DSM_ICON;
- } else if(ext.CompareNoCase(_T(".dsv")) == 0) {
+ }else if(ext.CompareNoCase(_T(".dsv")) == 0) {
iconindex = IDI_DSM_ICON;
- } else if(ext.CompareNoCase(_T(".dts")) == 0) {
- iconindex = IDI_DVDA_ICON;
- } else if(ext.CompareNoCase(_T(".evo")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".flac")) == 0) {
+ }else if(ext.CompareNoCase(_T(".dts")) == 0) {
+ iconindex = IDI_DTS_ICON;
+ }else if(ext.CompareNoCase(_T(".evo")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".f4v")) == 0) {
+ iconindex = IDI_FLV_ICON;
+ }else if(ext.CompareNoCase(_T(".flac")) == 0) {
iconindex = IDI_FLAC_ICON;
- } else if(ext.CompareNoCase(_T(".flic")) == 0) {
+ }else if(ext.CompareNoCase(_T(".flc")) == 0) {
iconindex = IDI_FLIC_ICON;
- } else if(ext.CompareNoCase(_T(".flv")) == 0) {
- iconindex = IDI_FLV_ICON;
- } else if(ext.CompareNoCase(_T(".iflv")) == 0) {
- iconindex = IDI_FLV_ICON;
- } else if(ext.CompareNoCase(_T(".f4v")) == 0) {
+ }else if(ext.CompareNoCase(_T(".fli")) == 0) {
+ iconindex = IDI_FLIC_ICON;
+ }else if(ext.CompareNoCase(_T(".flic")) == 0) {
+ iconindex = IDI_FLIC_ICON;
+ }else if(ext.CompareNoCase(_T(".flv")) == 0) {
iconindex = IDI_FLV_ICON;
- } else if(ext.CompareNoCase(_T(".hdmov")) == 0) {
+ }else if(ext.CompareNoCase(_T(".hdmov")) == 0) {
iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".ifo")) == 0) {
- iconindex = IDI_DVDF_ICON;
- } else if(ext.CompareNoCase(_T(".ivf")) == 0) {
+ }else if(ext.CompareNoCase(_T(".iflv")) == 0) {
+ iconindex = IDI_FLV_ICON;
+ }else if(ext.CompareNoCase(_T(".ifo")) == 0) {
+ iconindex = IDI_IFO_ICON;
+ }else if(ext.CompareNoCase(_T(".ivf")) == 0) {
iconindex = IDI_IVF_ICON;
- } else if(ext.CompareNoCase(_T(".m1a")) == 0) {
+ }else if(ext.CompareNoCase(_T(".m1a")) == 0) {
iconindex = IDI_MPA_ICON;
- } else if(ext.CompareNoCase(_T(".m1v")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".m2a")) == 0) {
+ }else if(ext.CompareNoCase(_T(".m1v")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".m2a")) == 0) {
iconindex = IDI_MPA_ICON;
- } else if(ext.CompareNoCase(_T(".m2t")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".m2ts")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".m2v")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".m3u")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".bdmv")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".m4a")) == 0) {
+ }else if(ext.CompareNoCase(_T(".m2p")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".m2t")) == 0) {
+ iconindex = IDI_TS_ICON;
+ }else if(ext.CompareNoCase(_T(".m2ts")) == 0) {
+ iconindex = IDI_TS_ICON;
+ }else if(ext.CompareNoCase(_T(".m2v")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".m3u")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".m4a")) == 0) {
iconindex = IDI_AAC_ICON;
- } else if(ext.CompareNoCase(_T(".m4b")) == 0) {
+ }else if(ext.CompareNoCase(_T(".m4b")) == 0) {
iconindex = IDI_AAC_ICON;
- } else if(ext.CompareNoCase(_T(".m4v")) == 0) {
+ }else if(ext.CompareNoCase(_T(".m4v")) == 0) {
iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".mid")) == 0) {
- iconindex = IDI_MID_ICON;
- } else if(ext.CompareNoCase(_T(".midi")) == 0) {
- iconindex = IDI_MID_ICON;
- } else if(ext.CompareNoCase(_T(".mka")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mid")) == 0) {
+ iconindex = IDI_MIDI_ICON;
+ }else if(ext.CompareNoCase(_T(".midi")) == 0) {
+ iconindex = IDI_MIDI_ICON;
+ }else if(ext.CompareNoCase(_T(".mka")) == 0) {
iconindex = IDI_MKA_ICON;
- } else if(ext.CompareNoCase(_T(".mkv")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mkv")) == 0) {
iconindex = IDI_MKV_ICON;
- } else if(ext.CompareNoCase(_T(".mov")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mov")) == 0) {
iconindex = IDI_MOV_ICON;
- } else if(ext.CompareNoCase(_T(".mp2")) == 0) {
- iconindex = IDI_MPC_ICON;
- } else if(ext.CompareNoCase(_T(".mp2v")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".mp3")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mp2")) == 0) {
+ iconindex = IDI_MPA_ICON;
+ }else if(ext.CompareNoCase(_T(".mp2v")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".mp3")) == 0) {
iconindex = IDI_MP3_ICON;
- } else if(ext.CompareNoCase(_T(".mp4")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mp4")) == 0) {
+ iconindex = IDI_MP4_ICON;
+ }else if(ext.CompareNoCase(_T(".mp4v")) == 0) {
iconindex = IDI_MP4_ICON;
- } else if(ext.CompareNoCase(_T(".mpa")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mpa")) == 0) {
iconindex = IDI_MPA_ICON;
- } else if(ext.CompareNoCase(_T(".mpc")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mpc")) == 0) {
iconindex = IDI_MPC_ICON;
- } else if(ext.CompareNoCase(_T(".mpcpl")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".mpe")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".mpeg")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".mpg")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".mpv2")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".mts")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".oga")) == 0) {
+ }else if(ext.CompareNoCase(_T(".mpcpl")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".mpe")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".mpeg")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".mpg")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".mpls")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".mpv2")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".mpv4")) == 0) {
+ iconindex = IDI_MP4_ICON;
+ }else if(ext.CompareNoCase(_T(".mts")) == 0) {
+ iconindex = IDI_TS_ICON;
+ }else if(ext.CompareNoCase(_T(".ofr")) == 0) {
+ iconindex = IDI_OFR_ICON;
+ }else if(ext.CompareNoCase(_T(".ofs")) == 0) {
+ iconindex = IDI_OFR_ICON;
+ }else if(ext.CompareNoCase(_T(".oga")) == 0) {
iconindex = IDI_OGG_ICON;
- } else if(ext.CompareNoCase(_T(".ogg")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ogg")) == 0) {
iconindex = IDI_OGG_ICON;
- } else if(ext.CompareNoCase(_T(".ogm")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ogm")) == 0) {
iconindex = IDI_OGM_ICON;
- } else if(ext.CompareNoCase(_T(".ogv")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ogv")) == 0) {
iconindex = IDI_OGM_ICON;
- } else if(ext.CompareNoCase(_T(".pls")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".pva")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".pss")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".qt")) == 0) {
- iconindex = IDI_MOV_ICON;
- } else if(ext.CompareNoCase(_T(".ra")) == 0) {
+ }else if(ext.CompareNoCase(_T(".pls")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".pva")) == 0) {
+ iconindex = IDI_MPEG_ICON;
+ }else if(ext.CompareNoCase(_T(".ra")) == 0) {
iconindex = IDI_RA_ICON;
- } else if(ext.CompareNoCase(_T(".ram")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ram")) == 0) {
iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".ratdvd")) == 0) {
+ }else if(ext.CompareNoCase(_T(".ratdvd")) == 0) {
iconindex = IDI_RATDVD_ICON;
- } else if(ext.CompareNoCase(_T(".rm")) == 0) {
+ }else if(ext.CompareNoCase(_T(".rm")) == 0) {
iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".rmi")) == 0) {
- iconindex = IDI_MID_ICON;
- } else if(ext.CompareNoCase(_T(".rmm")) == 0) {
+ }else if(ext.CompareNoCase(_T(".rmi")) == 0) {
+ iconindex = IDI_MIDI_ICON;
+ }else if(ext.CompareNoCase(_T(".rmm")) == 0) {
iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".rmvb")) == 0) {
- iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".roq")) == 0) {
+ }else if(ext.CompareNoCase(_T(".rmvb")) == 0) {
+ iconindex = IDI_OTHER_ICON;
+ }else if(ext.CompareNoCase(_T(".roq")) == 0) {
iconindex = IDI_ROQ_ICON;
- } else if(ext.CompareNoCase(_T(".rp")) == 0) {
+ }else if(ext.CompareNoCase(_T(".rp")) == 0) {
iconindex = IDI_RT_ICON;
- } else if(ext.CompareNoCase(_T(".rpm")) == 0) {
+ }else if(ext.CompareNoCase(_T(".rpm")) == 0) {
iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".rt")) == 0) {
+ }else if(ext.CompareNoCase(_T(".rt")) == 0) {
iconindex = IDI_RT_ICON;
- } else if(ext.CompareNoCase(_T(".smi")) == 0) {
- iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".smil")) == 0) {
- iconindex = IDI_RM_ICON;
- } else if(ext.CompareNoCase(_T(".smk")) == 0) {
- iconindex = IDI_OTHER_ICON;
- } else if(ext.CompareNoCase(_T(".snd")) == 0) {
+ }else if(ext.CompareNoCase(_T(".smi")) == 0) {
+ iconindex = IDI_RT_ICON;
+ }else if(ext.CompareNoCase(_T(".smil")) == 0) {
+ iconindex = IDI_RT_ICON;
+ }else if(ext.CompareNoCase(_T(".smk")) == 0) {
+ iconindex = IDI_SMK_ICON;
+ }else if(ext.CompareNoCase(_T(".snd")) == 0) {
iconindex = IDI_AU_ICON;
- } else if(ext.CompareNoCase(_T(".tp")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".tpr")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".ts")) == 0) {
- iconindex = IDI_MPG_ICON;
- } else if(ext.CompareNoCase(_T(".vob")) == 0) {
- iconindex = IDI_DVDF_ICON;
- } else if(ext.CompareNoCase(_T(".vp6")) == 0) {
- iconindex = IDI_OTHER_ICON;
- } else if(ext.CompareNoCase(_T(".wav")) == 0) {
+ }else if(ext.CompareNoCase(_T(".swf")) == 0) {
+ iconindex = IDI_SWF_ICON;
+ }else if(ext.CompareNoCase(_T(".tp")) == 0) {
+ iconindex = IDI_TS_ICON;
+ }else if(ext.CompareNoCase(_T(".trp")) == 0) {
+ iconindex = IDI_TS_ICON;
+ }else if(ext.CompareNoCase(_T(".ts")) == 0) {
+ iconindex = IDI_TS_ICON;
+ }else if(ext.CompareNoCase(_T(".tta")) == 0) {
+ iconindex = IDI_TTA_ICON;
+ }else if(ext.CompareNoCase(_T(".vob")) == 0) {
+ iconindex = IDI_VOB_ICON;
+ }else if(ext.CompareNoCase(_T(".wav")) == 0) {
iconindex = IDI_WAV_ICON;
- } else if(ext.CompareNoCase(_T(".wax")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".webm")) == 0) {
- iconindex = IDI_OTHER_ICON;
- } else if(ext.CompareNoCase(_T(".wm")) == 0) {
+ }else if(ext.CompareNoCase(_T(".wax")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".webm")) == 0) {
+ iconindex = IDI_WEBM_ICON;
+ }else if(ext.CompareNoCase(_T(".wm")) == 0) {
iconindex = IDI_WMV_ICON;
- } else if(ext.CompareNoCase(_T(".wma")) == 0) {
+ }else if(ext.CompareNoCase(_T(".wma")) == 0) {
iconindex = IDI_WMA_ICON;
- } else if(ext.CompareNoCase(_T(".wmp")) == 0) {
+ }else if(ext.CompareNoCase(_T(".wmp")) == 0) {
iconindex = IDI_WMV_ICON;
- } else if(ext.CompareNoCase(_T(".wmv")) == 0) {
+ }else if(ext.CompareNoCase(_T(".wmv")) == 0) {
iconindex = IDI_WMV_ICON;
- } else if(ext.CompareNoCase(_T(".wmx")) == 0) {
- iconindex = IDI_PLC_ICON;
- } else if(ext.CompareNoCase(_T(".wv")) == 0) {
- iconindex = IDI_NONE;
- } else if(ext.CompareNoCase(_T(".wvx")) == 0) {
- iconindex = IDI_PLC_ICON;
+ }else if(ext.CompareNoCase(_T(".wmx")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
+ }else if(ext.CompareNoCase(_T(".wv")) == 0) {
+ iconindex = IDI_WV_ICON;
+ }else if(ext.CompareNoCase(_T(".wvx")) == 0) {
+ iconindex = IDI_PLAYLIST_ICON;
}
return iconindex;