Split CLI processing into pre- and post-detection functions and add --localconfig and --nodetect options
This commit is contained in:
parent
72da8f362c
commit
ddfcd1caf9
11 changed files with 330 additions and 187 deletions
|
|
@ -72,6 +72,12 @@ bool ProfileManager::SaveProfile(std::string profile_name)
|
|||
}
|
||||
}
|
||||
|
||||
void ProfileManager::SetConfigurationDirectory(std::string directory)
|
||||
{
|
||||
configuration_directory = directory;
|
||||
UpdateProfileList();
|
||||
}
|
||||
|
||||
bool ProfileManager::LoadProfile(std::string profile_name)
|
||||
{
|
||||
return(LoadProfileWithOptions(profile_name, false, true));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue