Debugger: Extend ImageDebugInfoJobListener.
ImageDebugInfoJobListener: - Add hook for notification that the loading job is in progress. Call as appropriate when the job actually starts.
This commit is contained in:
parent
7f77789d5b
commit
674e0424f7
@ -97,6 +97,7 @@ public:
|
||||
virtual ~ImageDebugInfoJobListener();
|
||||
virtual void ImageDebugInfoJobNeedsUserInput(Job* job,
|
||||
ImageDebugInfoLoadingState* state);
|
||||
virtual void ImageDebugInfoJobInProgress(Image* image);
|
||||
};
|
||||
|
||||
|
||||
|
@ -29,6 +29,12 @@ ImageDebugInfoJobListener::ImageDebugInfoJobNeedsUserInput(Job* job,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ImageDebugInfoJobListener::ImageDebugInfoJobInProgress(Image* image)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - LoadImageDebugInfoJob
|
||||
|
||||
|
||||
@ -65,6 +71,9 @@ LoadImageDebugInfoJob::Do()
|
||||
ImageInfo imageInfo(fImage->Info());
|
||||
locker.Unlock();
|
||||
|
||||
if (fListener != NULL)
|
||||
fListener->ImageDebugInfoJobInProgress(fImage);
|
||||
|
||||
// create the debug info
|
||||
ImageDebugInfo* debugInfo;
|
||||
status_t error = fImage->GetTeam()->DebugInfo()->LoadImageDebugInfo(
|
||||
|
Loading…
Reference in New Issue
Block a user