aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/history.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/history.cc b/src/history.cc
new file mode 100644
index 0000000..79f0ee2
--- /dev/null
+++ b/src/history.cc
@@ -0,0 +1,18 @@
+#include "history.h"
+
+using namespace std;
+
+namespace ov4
+{
+
+void add_history(const std::string &s)
+{
+ history_vec.push_back(s);
+}
+
+void clear_history()
+{
+ history_vec.clear();
+}
+
+}