-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathmenu_shell.hpp
51 lines (37 loc) · 1007 Bytes
/
menu_shell.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef MENU_SHELL_HPP
#define MENU_SHELL_HPP
#include "state_base.hpp"
#include "menu_base.hpp"
#include "model-sys/struct_compat.hpp"
#include <memory>
#include <string>
#include <vector>
class Logging;
class Session;
typedef std::shared_ptr<Session> session_ptr;
/**
* @class MenuSystem
* @author Michael Griffin
* @date 10/11/2016
* @file menu_system.hpp
* @brief Main Menu System State Handles Core Loop
*/
class MenuShell
: public StateBase
, public MenuBase
{
public:
explicit MenuShell(session_ptr session_data);
~MenuShell();
virtual void update(const std::string &character_buffer, const bool &is_utf8) override;
virtual bool onEnter() override;
virtual bool onExit() override;
virtual std::string getStateID() const override
{
return "Menu Test (Not Used at This Time)";
}
Logging &m_log;
static const std::string m_stateID;
std::vector<std::string> m_system_fallback;
};
#endif // MENU_SHELL_HPP