using System;
using System.Collections.Generic;

namespace HDGraph.Interop.Unknown
{
    public class UnknownEnvToolProvider : ToolProviderBase
    {
        public override List<PathWithIcon> ListFavoritPath()
        {
            List<PathWithIcon> res = new List<PathWithIcon>();
            res.Add(new PathWithIcon()
            {
                Name = "Home", // TODO : localize ?
                Path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
                Icon = null // TODO : this.GetFolderIcon(IconSize.Small, FolderType.Open)
            });
            return res;
        }

        public override System.Drawing.Icon GetFileIcon(string name, IconSize size, bool linkOverlay)
        {
            return null;
            //return System.Drawing.Icon.ExtractAssociatedIcon(System.Windows.Forms.Application.ExecutablePath);
            //return Properties.Resources.HDGraph_ico; // TODO
        }

        public override System.Drawing.Icon GetFolderIcon(IconSize size, FolderType folderType)
        {
            return null;
            //return System.Drawing.Icon.ExtractAssociatedIcon(System.Windows.Forms.Application.ExecutablePath);
            //return Properties.Resources.HDGraph_ico; // TODO
        }
    }
}
