blob: 0518123805336ccf974669a53f40a126b330bccc [file] [log] [blame]
// Copyright 2020 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef XFA_FGAS_FONT_CFGAS_GEMODULE_H_
#define XFA_FGAS_FONT_CFGAS_GEMODULE_H_
#include <memory>
class CFGAS_FontMgr;
class CFGAS_GEModule {
public:
static void Create();
static void Destroy();
static CFGAS_GEModule* Get();
CFGAS_FontMgr* GetFontMgr() { return font_mgr_.get(); }
private:
CFGAS_GEModule();
~CFGAS_GEModule();
std::unique_ptr<CFGAS_FontMgr> font_mgr_;
};
#endif // XFA_FGAS_FONT_CFGAS_GEMODULE_H_