Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. using std::unordered_map<std::string, std::variant</* */> ParametersMap;
  2. using ConfigChanged = boost::signals2::signal<void(const ParametersMap &)>;
  3.  
  4. class SomeConfigManager
  5. {
  6. public:
  7.     void ConfigChangedSubscribe(const ConfigChanged::slot_type& slot)
  8.     {
  9.     }
  10.  
  11.     void Save(const & ParametersMap parameters)
  12.     {
  13.     }
  14.  
  15.     ParametersMap Load()
  16.     {
  17.     }
  18. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement