mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00
22 lines
464 B
C++
22 lines
464 B
C++
#pragma once
|
|
|
|
#include <vcpkg/base/files.h>
|
|
|
|
#include <string>
|
|
#include <utility>
|
|
|
|
namespace vcpkg
|
|
{
|
|
struct VcpkgPaths;
|
|
|
|
struct ToolCache
|
|
{
|
|
virtual ~ToolCache() {}
|
|
|
|
virtual const fs::path& get_tool_path(const VcpkgPaths& paths, const std::string& tool) const = 0;
|
|
virtual const std::string& get_tool_version(const VcpkgPaths& paths, const std::string& tool) const = 0;
|
|
};
|
|
|
|
std::unique_ptr<ToolCache> get_tool_cache();
|
|
}
|