diff options
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 96016d75b..8fbdeaf95 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -1143,7 +1143,12 @@ public: /** Emitted if read() failed on an existing Config file. There is nothing a listener can do about it: this is just for information. */ - static boost::signals2::signal<void ()> FailedToLoad; + enum class LoadFailure { + CONFIG, + CINEMAS, + DKDM_RECIPIENTS + }; + static boost::signals2::signal<void (LoadFailure)> FailedToLoad; /** Emitted if read() issued a warning which the user might want to know about */ static boost::signals2::signal<void (std::string)> Warning; /** Emitted if there is a something wrong the contents of our config. Handler can call |
