mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Rename DirectoryFile/FileProperty to Path, and re-use struct in OS code
* They describe directories or files, and really describe a single path on the remote system.
This commit is contained in:
@@ -108,7 +108,7 @@ void RenderManager::GetHomeFolder(bool synchronous, DirectoryBrowseMethod cb)
|
||||
if(IsRunning() && m_Thread->isCurrentThread())
|
||||
{
|
||||
auto lambda = [cb, this](IReplayRenderer *r) {
|
||||
cb(m_Remote->GetHomeFolder().c_str(), rdctype::array<DirectoryFile>());
|
||||
cb(m_Remote->GetHomeFolder().c_str(), rdctype::array<PathEntry>());
|
||||
};
|
||||
|
||||
if(synchronous)
|
||||
@@ -125,7 +125,7 @@ void RenderManager::GetHomeFolder(bool synchronous, DirectoryBrowseMethod cb)
|
||||
home = m_Remote->GetHomeFolder();
|
||||
}
|
||||
|
||||
cb(home.c_str(), rdctype::array<DirectoryFile>());
|
||||
cb(home.c_str(), rdctype::array<PathEntry>());
|
||||
}
|
||||
|
||||
bool RenderManager::ListFolder(QString path, bool synchronous, DirectoryBrowseMethod cb)
|
||||
@@ -148,7 +148,7 @@ bool RenderManager::ListFolder(QString path, bool synchronous, DirectoryBrowseMe
|
||||
return true;
|
||||
}
|
||||
|
||||
rdctype::array<DirectoryFile> contents;
|
||||
rdctype::array<PathEntry> contents;
|
||||
|
||||
// prevent pings while fetching remote FS data
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user