symbian os 系统环境改变时的通知 Saturday, October 10, 2009

当TChanges中列举的环境变量改变的时候,我们的软件可以收到及时的通知。 下面是symbian提供的TChanges地说明。不知道什么原因不能直接访问symbian的网页,我把它贴了上来。

Location: e32std.h
Link against: n/a

Enum TChanges

TChanges

Support

Supported from 5.0

Description

Defines the possible environment changes which may be reported by a change notifier through the RChangeNotifier handle.
Each enumerator corresponds to a distinct event type.
The changes are reported through a TRequestStatus object when a logon request to the change notifier completes. As each enumerator value represents a separate bit, any combination of events can be reported.

See also:


EChangesLocale


The system locale has changed.

Typically this event occurs as a result of a call to the Set() member function of a TLocale object.

EChangesMidnightCrossover


The system time has passed midnight.

EChangesThreadDeath


A thread has died. This event is reported when any thread in the system dies.

EChangesPowerStatus


The status of the power supply has changed.

EChangesSystemTime


The system time has changed.

EChangesFreeMemory


The free memory level has crossed a specified threshold value.

EChangesOutOfMemory


A memory allocation has failed due to insufficient free memory.

0 comments: