#pragma once /* * SPDX-FileCopyrightText: 2003-2009 Craig Drummond * SPDX-License-Identifier: GPL-2.0-or-later */ #include "kfontinst_export.h" #include #include #include namespace KFI { class KFONTINST_EXPORT WritingSystems { public: static WritingSystems *instance(); WritingSystems(); qulonglong get(FcPattern *pat) const; qulonglong get(const QStringList &langs) const; QStringList getLangs(qulonglong ws) const; private: QMap m_map; }; }