You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
716 B
33 lines
716 B
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- |
|
// fontEncodingPool.h |
|
// |
|
// Part of KDVI - A DVI previewer for the KDE desktop environment |
|
// |
|
// SPDX-FileCopyrightText: 2003 Stefan Kebekus |
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
#ifndef _FONTENCODINGPOOL_H |
|
#define _FONTENCODINGPOOL_H |
|
|
|
#include "fontEncoding.h" |
|
|
|
#include <QHash> |
|
|
|
class QString; |
|
|
|
class fontEncodingPool |
|
{ |
|
public: |
|
fontEncodingPool(); |
|
~fontEncodingPool(); |
|
|
|
fontEncodingPool(const fontEncodingPool &) = delete; |
|
fontEncodingPool &operator=(const fontEncodingPool &) = delete; |
|
|
|
fontEncoding *findByName(const QString &name); |
|
|
|
private: |
|
QHash<QString, fontEncoding *> dictionary; |
|
}; |
|
|
|
#endif
|
|
|