summaryrefslogtreecommitdiff
path: root/hscript/script.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-11 11:44:42 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-11 11:44:42 -0500
commitb8f4ce3bdb1f3ea76eef1c0c4fd7dd5d29259336 (patch)
treea95e0ccf5242a2c1a52b118dd04138a64d3f7546 /hscript/script.hh
parentbcff79985ebe4c2d09eda749a99a005dc65b6b52 (diff)
downloadhorizon-b8f4ce3bdb1f3ea76eef1c0c4fd7dd5d29259336.tar.gz
horizon-b8f4ce3bdb1f3ea76eef1c0c4fd7dd5d29259336.tar.bz2
horizon-b8f4ce3bdb1f3ea76eef1c0c4fd7dd5d29259336.tar.xz
horizon-b8f4ce3bdb1f3ea76eef1c0c4fd7dd5d29259336.zip
hscript: Make target directory configurable
This is the first step towards creating images using Horizon.
Diffstat (limited to 'hscript/script.hh')
-rw-r--r--hscript/script.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hscript/script.hh b/hscript/script.hh
index 8cf6c2a..e664f58 100644
--- a/hscript/script.hh
+++ b/hscript/script.hh
@@ -80,6 +80,12 @@ public:
/*! Executes the HorizonScript. */
bool execute() const;
+ /*! Retrieve the current target directory. */
+ const std::string targetDirectory() const;
+
+ /*! Set the current target directory. */
+ void setTargetDirectory(const std::string &dir);
+
/*! Retrieve the value of a specified key in this HorizonScript.
* @param name The name of the key to retrieve.
* @return The key object, if one exists. nullptr if the key has not been