Start moving towards C++ only UI code. Assume C++ for the replay API

* The C# P/Invoke stuff doesn't directly use the header, and we are soon
  going to deprecate the C interface entirely.
This commit is contained in:
baldurk
2017-03-13 17:56:00 +00:00
parent 55565a148b
commit 487a1b7903
17 changed files with 196 additions and 277 deletions
+2 -2
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(ReplayRenderer *renderer, uint32_t width, uint32_t height)
void DisplayRendererPreview(IReplayRenderer *renderer, uint32_t width, uint32_t height)
{
if(renderer == NULL)
return;
@@ -482,7 +482,7 @@ struct ReplayCommand : public Command
std::cout << "Replaying '" << filename << "' on " << parser.get<string>("remote-host") << ":"
<< parser.get<uint32_t>("remote-port") << "." << std::endl;
RemoteServer *remote = NULL;
IRemoteServer *remote = NULL;
ReplayCreateStatus status = RENDERDOC_CreateRemoteServerConnection(
parser.get<string>("remote-host").c_str(), parser.get<uint32_t>("remote-port"), &remote);