00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "config_notify.h"
00020 #include "dconfig.h"
00021
00022 ConfigureDef(config_notify);
00023
00024 ConfigureFn(config_notify) {
00025 }
00026
00027
00028
00029 bool
00030 get_assert_abort() {
00031 static bool *assert_abort = (bool *)NULL;
00032 if (assert_abort == (bool *)NULL) {
00033 assert_abort = new bool;
00034 *assert_abort = config_notify.GetBool("assert-abort", false);
00035 }
00036 return *assert_abort;
00037 }
00038
00039 bool
00040 get_notify_timestamp() {
00041 static bool *notify_timestamp = (bool *)NULL;
00042 if (notify_timestamp == (bool *)NULL) {
00043 notify_timestamp = new bool;
00044 *notify_timestamp = config_notify.GetBool("notify-timestamp", false);
00045 }
00046 return *notify_timestamp;
00047 }