NoJobEngine 2.0.7
Loading...
Searching...
No Matches
VisualStudioIntegration.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <filesystem>
9#include <functional>
10#include <string>
11
12namespace NoJob
13{
15 {
16 public:
17 using LogFunction = std::function<void(std::string)>;
18
19 static bool OpenScript(
20 const std::filesystem::path& scriptPath,
21 const std::filesystem::path& projectRoot,
22 const LogFunction& log);
23
24 private:
25 static std::filesystem::path FindVisualStudioExecutable();
26 };
27}
std::function< void(std::string)> LogFunction
static bool OpenScript(const std::filesystem::path &scriptPath, const std::filesystem::path &projectRoot, const LogFunction &log)