1 /*
2     SPDX-FileCopyrightText: 2019 João Netto <joaonetto901@gmail.com>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef OKULAR_SCRIPT_KJS_OCG_P_H
8 #define OKULAR_SCRIPT_KJS_OCG_P_H
9 
10 class KJSContext;
11 class KJSObject;
12 class QAbstractItemModel;
13 
14 namespace Okular
15 {
16 class JSOCG
17 {
18 public:
19     static void initType(KJSContext *ctx);
20     static KJSObject object(KJSContext *ctx);
21     static KJSObject wrapOCGObject(KJSContext *ctx, QAbstractItemModel *model, const int i, const int j);
22     static void clearCachedFields();
23 };
24 
25 }
26 
27 #endif
28