diff options
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,13 +2,17 @@ #define EDITOR_H #include <string> #include <iostream> +#include <vector> class Editor { public: - Editor(std::string* contents); + Editor(std::vector<std::string>* contents); int run_editor(); private: - std::string* m_contents; + std::vector<std::string>* m_contents; + int m_current_line; + + int print_contents_on_line(int line) const; }; #endif |
