mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
vfsLocalDir::IsOpened() implemented
This commit is contained in:
parent
36f76bf288
commit
270c851645
4 changed files with 13 additions and 2 deletions
|
@ -318,6 +318,11 @@ bool rDir::Open(const std::string& path)
|
|||
return reinterpret_cast<wxDir*>(handle)->Open(fmt::FromUTF8(path));
|
||||
}
|
||||
|
||||
bool rDir::IsOpened() const
|
||||
{
|
||||
return reinterpret_cast<wxDir*>(handle)->IsOpened();
|
||||
}
|
||||
|
||||
bool rDir::GetFirst(std::string *filename) const
|
||||
{
|
||||
wxString str;
|
||||
|
|
|
@ -66,6 +66,7 @@ struct rDir
|
|||
rDir(const rDir& other) = delete;
|
||||
rDir(const std::string &path);
|
||||
bool Open(const std::string& path);
|
||||
bool IsOpened() const;
|
||||
static bool Exists(const std::string &path);
|
||||
bool GetFirst(std::string *filename) const;
|
||||
bool GetNext(std::string *filename) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue