class SettingStoreObserver

Defined at line 21 of file ../../src/developer/debug/zxdb/client/setting_store_observer.h

Interface for listening to changes to a particular SettingStore. The main use case for this is to

listen to the System settings for some changes (eg. the BuildIDIndex needs to know when a new

path has been added in order to index it).

Note that an observer listens for a particular setting:

store.AddObserver(settings::kSomeSetting, this);

Public Methods

void OnSettingChanged (const SettingStore & , const std::string & setting_name)

The store is given because an observer could be listening to two stores at the same time. It's

the observer's job to correctly identify the setting and call the correct getter/setter

functions.