Merge pull request #256 from vvakame/impl-ts
[jackhill/mal.git] / cpp / ReadLine.h
1 #ifndef INCLUDE_READLINE_H
2 #define INCLUDE_READLINE_H
3
4 #include "String.h"
5
6 class ReadLine {
7 public:
8 ReadLine(const String& historyFile);
9 ~ReadLine();
10
11 bool get(const String& prompt, String& line);
12
13 private:
14 String m_historyPath;
15 };
16
17 #endif // INCLUDE_READLINE_H