aboutsummaryrefslogtreecommitdiffstats
path: root/editor.h
diff options
context:
space:
mode:
authorJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 13:48:34 +0300
committerJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 14:50:24 +0300
commit5bc2a0d9b6be834755efe5b09f9795f7495e8483 (patch)
treeefe8f8393f648e279ac80f188a2bc889fb0d7c9a /editor.h
parent40c4dfd312b24a7e012448e39a363c07fa1e8c5d (diff)
Add quit
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 9d2a773..6693446 100644
--- a/editor.h
+++ b/editor.h
@@ -14,11 +14,13 @@ class Editor {
std::vector<std::string>* m_contents;
std::string m_filename;
int m_current_line;
+ bool m_stopped;
int print_contents_on_line(int line) const;
int edit_command();
int move_to_command();
int write_command();
+ int quit_command();
int edit_line(int line);
int move_to_line(int line);