Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
ReadlineLineInterface.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <string>
9
11
13 bool m_allowHistory;
14
15 bool readline ( std::string & line, bool first ) override;
16
17 void lineCallback ( const std::string & line ) const override;
18
19public:
20 explicit ReadlineLineInterface ( bool allowHistory ) : m_allowHistory ( allowHistory ) {
21 }
22};
23
Definition: ReadlineLineInterface.h:12
ReadlineLineInterface(bool allowHistory)
Definition: ReadlineLineInterface.h:20
Definition: LineInterface.h:15