ModernSettings: Add support for more settings

Based on `HostId`:
* {7E0522FC-1AC4-41CA-AFD0-3610417A9C41}
  execute `shell:::{PageId}`
* {12B1697E-D3A0-4DBC-B568-CCF64A3F934D}
  execute command in `DeepLink`
This commit is contained in:
ge0rdi
2020-08-31 19:20:09 +02:00
parent 7ee668e474
commit 6581868336
4 changed files with 54 additions and 15 deletions
@@ -359,13 +359,13 @@ ModernSettings::Setting::Setting(const Blob& blob)
});
}
std::vector<ModernSettings::Setting> ModernSettings::enumerate() const
std::vector<std::wstring_view> ModernSettings::enumerate() const
{
std::vector<ModernSettings::Setting> retval;
std::vector<std::wstring_view> retval;
retval.reserve(m_settings.size());
for (const auto& i : m_settings)
retval.emplace_back(i.second);
retval.emplace_back(i.first);
return retval;
}