| File PromptRequest.hpp changed (mode: 100644) (index aa6dc60..f75531b) |
| ... |
... |
public: |
| 75 |
75 |
PromptRequest & operator=(const PromptRequest &rhs) = delete; |
PromptRequest & operator=(const PromptRequest &rhs) = delete; |
| 76 |
76 |
PromptRequest & operator=(PromptRequest &&rhs) = delete; |
PromptRequest & operator=(PromptRequest &&rhs) = delete; |
| 77 |
77 |
|
|
|
78 |
|
public: |
|
79 |
|
// Loads history from the file. |
|
80 |
|
static void loadHistory(const std::string &path); |
|
81 |
|
// Stores history to the file. |
|
82 |
|
static void saveHistory(const std::string &path); |
|
83 |
|
|
| 78 |
84 |
public: |
public: |
| 79 |
85 |
// Sets callback to be invoked when input is changed. |
// Sets callback to be invoked when input is changed. |
| 80 |
86 |
void setOnInputChanged(inputChangedFunc newOnInputChanged); |
void setOnInputChanged(inputChangedFunc newOnInputChanged); |