blob: 6e3ee2fbc24f3f2232766f56f9aa2fb09d8ee7ee [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_STYLE_H_
8#define FXJS_CJS_STYLE_H_
dan sinclair993a1992017-10-25 20:21:09 -04009
Lei Zhang31beedc2018-10-18 21:09:55 +000010#include "fxjs/cjs_object.h"
dan sinclair993a1992017-10-25 20:21:09 -040011
Tom Sepez55865452018-08-27 20:18:04 +000012class CJS_Style final : public CJS_Object {
dan sinclair993a1992017-10-25 20:21:09 -040013 public:
Dan Sinclairbef4d3e2017-10-26 16:49:38 -040014 static void DefineJSObjects(CFXJS_Engine* pEngine);
Dan Sinclairef299532017-10-26 16:48:30 -040015
Tom Sepez007daeb2018-10-29 20:55:28 +000016 CJS_Style() = delete;
dan sinclair993a1992017-10-25 20:21:09 -040017
Dan Sinclairef299532017-10-26 16:48:30 -040018 private:
19 static int ObjDefnID;
Dan Sinclairc94a7932017-10-26 16:48:57 -040020 static const JSConstSpec ConstSpecs[];
dan sinclair993a1992017-10-25 20:21:09 -040021};
22
Dan Sinclaire0345a42017-10-30 20:20:42 +000023#endif // FXJS_CJS_STYLE_H_