blob: 2e8901742aae2c04bdd1fd68b0bb299bfcb89484 [file] [log] [blame]
kumarashishg826308d2023-06-23 13:21:22 +00001// Copyright 2020 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef XFA_FGAS_FONT_CFGAS_GEMODULE_H_
6#define XFA_FGAS_FONT_CFGAS_GEMODULE_H_
7
8#include <memory>
9
10class CFGAS_FontMgr;
11
12class CFGAS_GEModule {
13 public:
14 static void Create();
15 static void Destroy();
16 static CFGAS_GEModule* Get();
17
18 CFGAS_FontMgr* GetFontMgr() { return font_mgr_.get(); }
19
20 private:
21 CFGAS_GEModule();
22 ~CFGAS_GEModule();
23
24 std::unique_ptr<CFGAS_FontMgr> font_mgr_;
25};
26
27#endif // XFA_FGAS_FONT_CFGAS_GEMODULE_H_