mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 02:27:10 +03:00
18 lines
279 B
C++
18 lines
279 B
C++
#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
|