diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-26 19:05:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-26 23:41:38 +0200 |
commit | edf784340999b6e8f44241e04e6d6f8afc27be29 (patch) | |
tree | e2008782c0bbc1e7bbfff08202e717febbb2ac13 /Userland/Applications/FileManager/DirectoryView.h | |
parent | 9509f2ff87e10f87f4710749562e35be016a8a21 (diff) | |
download | serenity-edf784340999b6e8f44241e04e6d6f8afc27be29.zip |
ConfigServer+LibConfig: Add way for clients to listen for config changes
This patch adds a Config::Listener abstract class that anyone can
inherit from and receive notifications when configuration values change.
We don't yet monitor file system changes, so these only work for changes
made by ConfigServer itself.
In order to receive these notifications, clients must monitor the domain
by calling monitor_domain(). Only pledged domains can be monitored.
Note that the client initiating the change does not get notified.
Diffstat (limited to 'Userland/Applications/FileManager/DirectoryView.h')
0 files changed, 0 insertions, 0 deletions