#include <game_events.hpp>

Public Member Functions | |
| event_handler (const config &cfg, bool is_menu_item=false) | |
| bool | matches_name (const std::string &name) const |
| bool | disabled () const |
| bool | is_menu_item () const |
| void | handle_event (const queued_event &event_info) |
| const config & | get_config () const |
Private Attributes | |
| bool | first_time_only_ |
| bool | disabled_ |
| bool | is_menu_item_ |
| config | cfg_ |
Definition at line 85 of file game_events.hpp.
| game_events::event_handler::event_handler | ( | const config & | cfg, | |
| bool | is_menu_item = false | |||
| ) |
Definition at line 3273 of file game_events.cpp.
| bool game_events::event_handler::disabled | ( | ) | const [inline] |
Definition at line 92 of file game_events.hpp.
References disabled_.
Referenced by process_event().

| const config& game_events::event_handler::get_config | ( | ) | const [inline] |
Definition at line 97 of file game_events.hpp.
References cfg_.
Referenced by process_event(), and WML_HANDLER_FUNCTION().

| void game_events::event_handler::handle_event | ( | const queued_event & | event_info | ) |
Definition at line 3278 of file game_events.cpp.
References cfg_, DBG_NG, disabled_, first_time_only_, game_events::handle_event_commands(), and is_menu_item_.
Referenced by process_event().


| bool game_events::event_handler::is_menu_item | ( | ) | const [inline] |
Definition at line 93 of file game_events.hpp.
References is_menu_item_.
Referenced by commit_wmi_commands().

| bool game_events::event_handler::matches_name | ( | const std::string & | name | ) | const |
Definition at line 3314 of file game_events.cpp.
References cfg_, and gui2::event::find().
Referenced by commit_wmi_commands().


config game_events::event_handler::cfg_ [private] |
Definition at line 102 of file game_events.hpp.
Referenced by get_config(), handle_event(), and matches_name().
bool game_events::event_handler::disabled_ [private] |
Definition at line 100 of file game_events.hpp.
Referenced by disabled(), and handle_event().
bool game_events::event_handler::first_time_only_ [private] |
Definition at line 99 of file game_events.hpp.
Referenced by handle_event().
bool game_events::event_handler::is_menu_item_ [private] |
Definition at line 101 of file game_events.hpp.
Referenced by handle_event(), and is_menu_item().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:46 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |