1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-19 09:38:28 +03:00
mal/impls/cpp/ReadLine.h

18 lines
279 B
C
Raw Normal View History

2015-03-26 14:08:35 +03:00
#ifndef INCLUDE_READLINE_H
#define INCLUDE_READLINE_H
#include "String.h"
class ReadLine {
public:
ReadLine(const String& historyFile);
~ReadLine();
bool get(const String& prompt, String& line);
private:
String m_historyPath;
};
#endif // INCLUDE_READLINE_H