diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-21 03:13:22 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-21 03:13:22 +0000 |
| commit | 9f5936bf64deb625a27259d778937e281ca19cea (patch) | |
| tree | 71e72babac9b6c2119e73f357f4e72587c63e1d7 /src | |
| parent | d8db366565094d5bbb5eef5855e5036f55cfdac4 (diff) | |
add history manager
Diffstat (limited to 'src')
| -rw-r--r-- | src/history.cc | 18 |
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(); +} + +} |
