Clean up pass
This commit is contained in:
@@ -12,7 +12,8 @@ class AppConfigProvider
|
||||
public:
|
||||
AppConfigProvider();
|
||||
|
||||
bool Load(const std::filesystem::path& path, std::string& error);
|
||||
bool Load(const std::filesystem::path& path, std::string& error);
|
||||
bool LoadDefault(std::string& error);
|
||||
void ApplyCommandLine(int argc, char** argv);
|
||||
|
||||
const AppConfig& Config() const { return mConfig; }
|
||||
@@ -27,4 +28,5 @@ private:
|
||||
|
||||
double FrameDurationMillisecondsFromRateString(const std::string& rateText, double fallbackRate = 59.94);
|
||||
void VideoFormatDimensions(const std::string& formatName, unsigned& width, unsigned& height);
|
||||
std::filesystem::path FindConfigFile(const std::filesystem::path& relativePath = "config/runtime-host.json");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user