[Commits] [wesnoth/wesnoth] 100584: Game Events/Manager: restrict public access of int...

GitHub noreply at github.com
Sat May 20 10:11:11 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1005843c523a3d2f09de613dcf1150d6eac9c58f
      https://github.com/wesnoth/wesnoth/commit/1005843c523a3d2f09de613dcf1150d6eac9c58f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-20 (Sat, 20 May 2017)

  Changed paths:
    M src/game_events/manager.hpp
    M src/game_state.cpp

  Log Message:
  -----------
  Game Events/Manager: restrict public access of internals


  Commit: be665e29f111ad6c8ef1e8410a08608a405554cc
      https://github.com/wesnoth/wesnoth/commit/be665e29f111ad6c8ef1e8410a08608a405554cc
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-20 (Sat, 20 May 2017)

  Changed paths:
    M src/game_events/manager.cpp
    M src/game_events/manager.hpp
    M src/game_events/menu_item.cpp
    M src/game_events/pump.cpp

  Log Message:
  -----------
  Game Events/Manager: added function to encapsulate iteration-by-id interface

This allows manager::iteration to be made private in order to restrict access to handler iterators
within the manager class and not outside it.


Compare: https://github.com/wesnoth/wesnoth/compare/ba712685d51e...be665e29f111


More information about the Commits mailing list