Rename ReplayRenderer to ReplayController

* It's not a renderer, it's an interface to controlling the replay and
  any 'renderer' type work actually happens in ReplayOutput.
This commit is contained in:
baldurk
2017-04-07 14:11:20 +01:00
parent a7ab0d9300
commit 6930841705
35 changed files with 215 additions and 215 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ void readCapOpts(const std::string &str, CaptureOptions *opts)
*(b++) = (byte(str[i * 2 + 0] - 'a') << 4) | byte(str[i * 2 + 1] - 'a');
}
void DisplayRendererPreview(IReplayRenderer *renderer, uint32_t width, uint32_t height)
void DisplayRendererPreview(IReplayController *renderer, uint32_t width, uint32_t height)
{
if(renderer == NULL)
return;
@@ -510,7 +510,7 @@ struct ReplayCommand : public Command
rdctype::str remotePath = remote->CopyCaptureToRemote(filename.c_str(), NULL);
IReplayRenderer *renderer = NULL;
IReplayController *renderer = NULL;
std::tie(status, renderer) = remote->OpenCapture(~0U, remotePath.elems, NULL);
if(status == ReplayStatus::Succeeded)
@@ -539,7 +539,7 @@ struct ReplayCommand : public Command
return 1;
}
IReplayRenderer *renderer = NULL;
IReplayController *renderer = NULL;
ReplayStatus status = ReplayStatus::InternalError;
std::tie(status, renderer) = file->OpenCapture(NULL);