diff options
Diffstat (limited to 'src/core/commandbuffer.h')
-rw-r--r-- | src/core/commandbuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/commandbuffer.h b/src/core/commandbuffer.h index 8970d89..7b26211 100644 --- a/src/core/commandbuffer.h +++ b/src/core/commandbuffer.h @@ -28,6 +28,9 @@ public: /// clear the command buffer static void clear(); + /// execute commands from a file + static void exec_file(std::string const & filename); + /// global buffer to hold the command stream static std::stringstream cmd; |