blob: 31edf06836c74769ec01b0578a44d2b44ec55f22 [file] [log] [blame]
dan sinclair993a1992017-10-25 20:21:09 -04001// Copyright 2017 PDFium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
Dan Sinclaire0345a42017-10-30 20:20:42 +00007#ifndef FXJS_CJS_FONT_H_
8#define FXJS_CJS_FONT_H_
dan sinclair993a1992017-10-25 20:21:09 -04009
Dan Sinclaire0345a42017-10-30 20:20:42 +000010#include "fxjs/JS_Define.h"
dan sinclair993a1992017-10-25 20:21:09 -040011
12class CJS_Font : public CJS_Object {
13 public:
Dan Sinclairbef4d3e2017-10-26 16:49:38 -040014 static void DefineJSObjects(CFXJS_Engine* pEngine);
Dan Sinclairef299532017-10-26 16:48:30 -040015
dan sinclair993a1992017-10-25 20:21:09 -040016 explicit CJS_Font(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
17 ~CJS_Font() override {}
18
Dan Sinclairef299532017-10-26 16:48:30 -040019 private:
20 static int ObjDefnID;
Dan Sinclairc94a7932017-10-26 16:48:57 -040021 static const JSConstSpec ConstSpecs[];
dan sinclair993a1992017-10-25 20:21:09 -040022};
23
Dan Sinclaire0345a42017-10-30 20:20:42 +000024#endif // FXJS_CJS_FONT_H_