pdfium/fxjs/cjs_zoomtype.h
Tom Sepez 007daeb3fb Remove ctors from CJS_ objects which cant be instantiated.
Because they only provide constants.

Change-Id: I79cdc78b4d0c1d6e8d6276b4ce7bb301755802c9
Reviewed-on: https://pdfium-review.googlesource.com/c/44791
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
2018-10-29 20:55:28 +00:00

24 lines
581 B
C++

// Copyright 2017 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.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef FXJS_CJS_ZOOMTYPE_H_
#define FXJS_CJS_ZOOMTYPE_H_
#include "fxjs/cjs_object.h"
class CJS_Zoomtype final : public CJS_Object {
public:
static void DefineJSObjects(CFXJS_Engine* pEngine);
CJS_Zoomtype() = delete;
private:
static int ObjDefnID;
static const JSConstSpec ConstSpecs[];
};
#endif // FXJS_CJS_ZOOMTYPE_H_