The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Private Member Functions | Friends | List of all members
gui2::tunit_test_access_only Class Reference

Special helper class to get the list of registered windows. More...

#include <settings.hpp>

Static Private Member Functions

static std::vector< std::stringget_registered_window_list ()
 Returns a copy of the list of registered windows. More...
 

Friends

std::vector< std::string > & unit_test_registered_window_list ()
 

Detailed Description

Special helper class to get the list of registered windows.

This is used in the unit tests, but these implementation details shouldn't be used in the normal code.

Definition at line 63 of file settings.hpp.

Member Function Documentation

std::vector< std::string > gui2::tunit_test_access_only::get_registered_window_list ( )
staticprivate

Returns a copy of the list of registered windows.

Definition at line 479 of file settings.cpp.

References gui2::registered_window_types().

Referenced by gui2::unit_test_registered_window_list().

Friends And Related Function Documentation

std::vector<std::string>& unit_test_registered_window_list ( )
friend

Definition at line 99 of file test_gui2.cpp.


The documentation for this class was generated from the following files: