Sets the line callback and takes ownership.
| 24 | |
| 25 | // Sets the line callback and takes ownership. |
| 26 | void set_line_callback(std::function<void(char*)> callback) { |
| 27 | line_callback_ = callback; |
| 28 | } |
| 29 | |
| 30 | // Reloads the file line by line. |
| 31 | void Reload(); |