Notifies a program of changes in the system environment relating to time, locale, power, and thread death.
Programs can use this API to request to be informed of the following changes:
change of system locale
system time passes midnight
system time changes
any thread dies
status of the power supply changes
Requests are made through an active object that calls a call back
function (encapsulated in a TCallBack
) when a change occurs. The
class is CEnvironmentChangeNotifier
. The
TChanges
enum lists the possible events.