2 * PROJECT: ReactOS Font Shell Extension
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: font list cache handling
5 * COPYRIGHT: Copyright 2019,2020 Mark Jansen (mark.jansen@reactos.org)
18 CFontInfo(LPCWSTR name = L"");
20 const CStringW& Name() const;
21 const CStringW& File();
22 const bool Valid() const;
29 CAtlArray<CFontInfo> m_Fonts;
30 CStringW m_FontFolderPath;
35 void Insert(CAtlList<CFontInfo>& fonts, const CStringW& KeyName);
39 void SetFontDir(const LPCWSTR Path);
40 const CStringW& FontPath() const { return m_FontFolderPath; }
43 CStringW Name(size_t Index);
44 CStringW Filename(const FontPidlEntry* fontEntry, bool alwaysFullPath = false);
46 friend class CFontExtModule;
50 extern CFontCache* g_FontCache;