summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-08-19 23:57:24 +0100
committerCarl Hetherington <cth@carlh.net>2017-08-19 23:57:24 +0100
commit8f3743d18026b59b1ecd8e8f4d12cc59273eb1ed (patch)
tree9a3a07b554898e2089e1ba897f64fdefcb14db64 /src/lib/config.h
parent26cd966b7ae60673dd597eafa75860a5b5eb74c6 (diff)
Cope nicely if the user has a configured default container ratio which is now disallowed.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index b850e99a7..0a81dee51 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -625,6 +625,8 @@ public:
a listener can do about it: this is just for information.
*/
static boost::signals2::signal<void ()> FailedToLoad;
+ /** Emitted if read() issued a warning which the user might want to know about */
+ static boost::signals2::signal<void (std::string)> Warning;
void write () const;
void write_config () const;