summaryrefslogtreecommitdiff
path: root/hscript/script.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-06 13:46:57 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-06 13:46:57 -0500
commit65f70c4d29fb2ffc75aad2435ac6b03059bb6e80 (patch)
treefe78d655b3c918eedb7bc834d1daa281ef0f8430 /hscript/script.hh
parent600ced25919b7b0d00cad5c7b5d805b549d8c3ed (diff)
downloadhorizon-65f70c4d29fb2ffc75aad2435ac6b03059bb6e80.tar.gz
horizon-65f70c4d29fb2ffc75aad2435ac6b03059bb6e80.tar.bz2
horizon-65f70c4d29fb2ffc75aad2435ac6b03059bb6e80.tar.xz
horizon-65f70c4d29fb2ffc75aad2435ac6b03059bb6e80.zip
Add skeleton logic
Diffstat (limited to 'hscript/script.hh')
-rw-r--r--hscript/script.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/hscript/script.hh b/hscript/script.hh
index a2c2551..1150e78 100644
--- a/hscript/script.hh
+++ b/hscript/script.hh
@@ -27,8 +27,10 @@ namespace Horizon {
#define SCRIPT_USE_NETWORK 0x0002
/*! Treat warnings as errors. */
#define SCRIPT_STRICT_MODE 0x0004
-/*! This is an Installation Environment - validate more keys */
+/*! This is an Installation Environment - validate more keys. */
#define SCRIPT_INSTALL_ENV 0x0008
+/*! "Pretty" output - used in interactive tooling only. */
+#define SCRIPT_PRETTY 0x0010
typedef uint32_t ScriptOptions;
@@ -36,10 +38,10 @@ typedef uint32_t ScriptOptions;
/*! Defines the Script class, which represents a HorizonScript. */
class Script {
-public:
+private:
/*! Initialise the Script class. */
Script();
-
+public:
/*! Load a HorizonScript from the specified path.
* @param path The path to load from.
* @param options Options to use for parsing, validation, and execution.