summaryrefslogtreecommitdiff
path: root/components/external/espruino/src/jswrap_interactive.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/external/espruino/src/jswrap_interactive.h')
-rw-r--r--components/external/espruino/src/jswrap_interactive.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/components/external/espruino/src/jswrap_interactive.h b/components/external/espruino/src/jswrap_interactive.h
new file mode 100644
index 0000000000..b9cee2a4f2
--- /dev/null
+++ b/components/external/espruino/src/jswrap_interactive.h
@@ -0,0 +1,24 @@
+/*
+ * This file is part of Espruino, a JavaScript interpreter for Microcontrollers
+ *
+ * Copyright (C) 2013 Gordon Williams <[email protected]>
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * ----------------------------------------------------------------------------
+ * JavaScript methods and functions for the interactive shell
+ * ----------------------------------------------------------------------------
+ */
+#include "jsvar.h"
+#include "jsinteractive.h"
+
+void jswrap_interface_setBusyIndicator(JsVar *pinVar);
+void jswrap_interface_setSleepIndicator(JsVar *pinVar);
+void jswrap_interface_setDeepSleep(bool sleep);
+void jswrap_interface_trace(JsVar *root);
+void jswrap_interface_print(JsVar *v);
+void jswrap_interface_edit(JsVar *funcName);
+void jswrap_interface_echo(bool echoOn);
+JsVar *jswrap_interface_getSerial();