Debugger: Add connection config handler framework.
commiteede6646dd548b5fe56d9305f1d6fb2b650e26c3
authorRene Gollent <rene@gollent.com>
Sun, 4 Dec 2016 19:19:42 +0000 (4 14:19 -0500)
committerRene Gollent <rene@gollent.com>
Mon, 5 Dec 2016 23:18:09 +0000 (5 18:18 -0500)
tree13553e7647e5f8472446ba0e32f71aae44a951a7
parent445f00371c94ad28924ac5ccadefe72e139aa602
Debugger: Add connection config handler framework.

ConnectionConfigHandler:
- Abstract base class for the different types of connection that allows one to
  retrieve an appropriate configuration view based on the target host interface
  type. This will allow the configuration window to switch dynamically between
  network, USB, etc. without having to know the details of any of those.
  Initially only a network subclass has been implemented though.

ConnectionConfigHandlerRoster:
- Keeps track of the list of available config handlers, and handles mapping a
  request for a given interface info to the appropriate type of handler.

ConnectionConfigView:
- Abstract base class for the actual configuration views returned by the config
  handlers. This exposes a listener interface via which the view can notify
  an interested party that the configuration has been changed. Correspondingly,
  the configuration window will use this to determine if the configuration is
  complete enough to allow a connection attempt.
src/apps/debugger/Jamfile
src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigHandler.cpp [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigHandler.h [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigHandlerRoster.cpp [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigHandlerRoster.h [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigView.cpp [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigView.h [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/config_handlers/NetworkConnectionConfigHandler.cpp [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/config_handlers/NetworkConnectionConfigHandler.h [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/config_handlers/NetworkConnectionConfigView.cpp [new file with mode: 0644]
src/apps/debugger/user_interface/gui/connection_config/config_handlers/NetworkConnectionConfigView.h [new file with mode: 0644]