Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/commandbuffer.h')
-rw-r--r--src/core/commandbuffer.h3
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;