Commit | Line | Data |
---|---|---|
9ddaa0b9 ST |
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 |