mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CUETools 2.1.1
* Local Database for verification results and metadata * FlaCuda replaced with FLACCL
This commit is contained in:
@@ -183,6 +183,16 @@ namespace CUEControls
|
||||
DestroyIcon(info.hIcon);
|
||||
return iIcon;
|
||||
}
|
||||
|
||||
public int GetIconIndex(string filename)
|
||||
{
|
||||
int iIcon;
|
||||
if (m_extension_map.TryGetValue(Path.GetExtension(filename).ToLower(), out iIcon))
|
||||
return iIcon;
|
||||
if (m_extension_map.TryGetValue(".wav", out iIcon))
|
||||
return iIcon;
|
||||
return 0;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region private methods
|
||||
|
||||
Reference in New Issue
Block a user