示例#1
0
static AllocatedPath
LocalPath(const AvailableFile &file)
{
  const UTF8ToWideConverter base(file.GetName());
  if (!base.IsValid())
    return nullptr;

  return LocalPath(base);
}
示例#2
0
static bool
LocalPath(TCHAR *buffer, const AvailableFile &file)
{
  ACPToWideConverter base(file.GetName());
  if (!base.IsValid())
    return false;

  ::LocalPath(buffer, base);
  return true;
}
示例#3
0
 gcc_pure
 bool IsDownloading(const AvailableFile &file,
                    DownloadStatus &status_r) const {
   return IsDownloading(file.GetName(), status_r);
 }
示例#4
0
 gcc_pure
 bool IsDownloading(const AvailableFile &file) const {
   return IsDownloading(file.GetName());
 }
示例#5
0
 gcc_pure
 bool HasFailed(const AvailableFile &file) const {
   return HasFailed(file.GetName());
 }