Added name() and path() to XFile.

This commit is contained in:
gibbed
2014-01-19 00:51:08 -08:00
parent 8b27354dcb
commit 124b419b6b
7 changed files with 36 additions and 0 deletions

View File

@@ -28,6 +28,14 @@ HostPathFile::~HostPathFile() {
CloseHandle(file_handle_);
}
const char* HostPathFile::name(void) {
return entry_->name();
}
const char* HostPathFile::path(void) {
return entry_->path();
}
X_STATUS HostPathFile::QueryInfo(XFileInfo* out_info) {
return entry_->QueryInfo(out_info);
}