supercell-wx/scwx-qt/source/scwx/qt/config/county_database.hpp
Dan Paulat bcc7391a19 Add GetCounties to county database
- Also remove mutex, as the database is only modified on initialization
2023-12-06 06:20:00 -06:00

25 lines
424 B
C++

#pragma once
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
namespace scwx
{
namespace qt
{
namespace config
{
namespace CountyDatabase
{
void Initialize();
std::string GetCountyName(const std::string& id);
std::unordered_map<std::string, std::string>
GetCounties(const std::string& state);
} // namespace CountyDatabase
} // namespace config
} // namespace qt
} // namespace scwx