summaryrefslogtreecommitdiffstats
path: root/platform/javascript/os_javascript.h
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2017-11-16 01:33:48 +0100
committerLeon Krause <lk@leonkrause.com>2017-11-18 03:54:21 +0100
commit63b1a096eb17fd52cd46c36177e5158dce54a60a (patch)
tree3517410561103c29289379f3809f813e266b46b3 /platform/javascript/os_javascript.h
parent6b34f10ab1dc92fa0addf57cb3cdcce5fd109d5b (diff)
downloadredot-engine-63b1a096eb17fd52cd46c36177e5158dce54a60a.tar.gz
Facilitate exposing platform-exclusive interfaces to all platforms
This makes the interfaces available, without implementation, in other platforms and the editor, which facilitates documenting platform-exclusive classes. Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp. Provide noop method-implementations where necessary. Also setup and document the HTML5 platform's JavaScript singleton.
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r--platform/javascript/os_javascript.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index f478f95dd2..85c185c10f 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -32,7 +32,6 @@
#include "audio_driver_javascript.h"
#include "drivers/unix/os_unix.h"
-#include "javascript_eval.h"
#include "main/input_default.h"
#include "os/input.h"
#include "os/main_loop.h"
@@ -67,10 +66,6 @@ class OS_JavaScript : public OS_Unix {
PowerJavascript *power_manager;
-#ifdef JAVASCRIPT_EVAL_ENABLED
- JavaScript *javascript_eval;
-#endif
-
static void _close_notification_funcs(const String &p_file, int p_flags);
void process_joypads();