Debugger: Implement notifications for debug info loading.

TeamDebugger:
- When notified that an image debug info job has started loading,
  notify the user interface accordingly. Also reset status to a ready
  state whenever all in-flight jobs are complete. This allows the
  user to know when then debug subsystem is still in the process
  of parsing debug information, as this can be time consuming for
  larger programs/libraries.
This commit is contained in:
Rene Gollent
2015-08-14 20:53:06 -04:00
parent 674e0424f7
commit 36a43c9d51
2 changed files with 28 additions and 1 deletions
@@ -140,6 +140,7 @@ private:
virtual void ImageDebugInfoJobNeedsUserInput(Job* job,
ImageDebugInfoLoadingState* state);
virtual void ImageDebugInfoJobInProgress(Image* image);
// Team::Listener
virtual void ThreadStateChanged(
@@ -235,6 +236,11 @@ private:
void _NotifyUser(const char* title,
const char* text,...);
void _ResetUserBackgroundStatusIfNeeded();
// updates user interface to
// ready/completed message
// for background work status
private:
Listener* fListener;
SettingsManager* fSettingsManager;