Changeset View
Changeset View
Standalone View
Standalone View
core/script/kjs_display_p.h
- This file was copied from core/script/kjs_app_p.h.
1 | /*************************************************************************** | 1 | /*************************************************************************** | ||
---|---|---|---|---|---|
2 | * Copyright (C) 2008 by Pino Toscano <pino@kde.org> * | 2 | * Copyright (C) 2019 by João Netto <joaonetto901@gmail.com> * | ||
3 | * Copyright (C) 2008 by Harri Porten <porten@kde.org> * | | |||
4 | * * | 3 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | 4 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | 5 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | 6 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | 7 | * (at your option) any later version. * | ||
9 | ***************************************************************************/ | 8 | ***************************************************************************/ | ||
10 | 9 | | |||
11 | #ifndef OKULAR_SCRIPT_KJS_APP_P_H | 10 | #ifndef OKULAR_SCRIPT_KJS_DISPLAY_P_H | ||
12 | #define OKULAR_SCRIPT_KJS_APP_P_H | 11 | #define OKULAR_SCRIPT_KJS_DISPLAY_P_H | ||
13 | 12 | | |||
14 | class KJSContext; | 13 | class KJSContext; | ||
15 | class KJSObject; | 14 | class KJSObject; | ||
16 | 15 | | |||
17 | namespace Okular { | 16 | namespace Okular { | ||
18 | 17 | | |||
19 | class DocumentPrivate; | 18 | class JSDisplay | ||
20 | | ||||
21 | class JSApp | | |||
22 | { | 19 | { | ||
23 | public: | 20 | public: | ||
24 | static void initType( KJSContext *ctx ); | 21 | static void initType( KJSContext *ctx ); | ||
25 | static KJSObject object( KJSContext *ctx, DocumentPrivate *doc ); | 22 | static KJSObject object( KJSContext *ctx ); | ||
26 | }; | 23 | }; | ||
27 | 24 | | |||
28 | } | 25 | } | ||
29 | 26 | | |||
30 | #endif | 27 | #endif | ||
28 | No newline at end of file |