#include <vi_view.h>
|
| | ViView () |
| | Default constructor.
|
| | ~ViView () |
| | Destructor.
|
| virtual UserInput | get_input (const std::string &msg) override |
| | Gets input from the user.
|
| virtual void | display_list (const std::vector< Task > &todo_list, u16 level=0) override |
| | Display task list to screen.
|
| virtual void | display_msg (const std::string &msg) override |
| | Display message to screen.
|
| | View ()=default |
| | Default Constructor.
|
| virtual | ~View ()=default |
| | Destructor.
|
◆ ViView()
◆ ~ViView()
| todo::ViView::~ViView |
( |
| ) |
|
◆ display_list()
| void todo::ViView::display_list |
( |
const std::vector< Task > & | todo_list, |
|
|
u16 | level = 0 ) |
|
overridevirtual |
Display task list to screen.
- Parameters
-
| todo_list | Const reference to a vector. |
| level | Recursion depth. |
Implements todo::View.
◆ display_msg()
| void todo::ViView::display_msg |
( |
const std::string & | msg | ) |
|
|
overridevirtual |
Display message to screen.
- Parameters
-
Implements todo::View.
◆ get_input()
| UserInput todo::ViView::get_input |
( |
const std::string & | msg | ) |
|
|
overridevirtual |
Gets input from the user.
- Parameters
-
Implements todo::View.
The documentation for this class was generated from the following files: