Loading...
Searching...
No Matches
appmessage_features.h File Reference

Which of the phone's optional features a face has, worked out from the message keys it declares. The waf build defines a HAS_MESSAGE_KEY_* for every key in the face's messageKeys, and this turns those into one switch per feature, so every file asking the same question gets the same answer. More...

Go to the source code of this file.

Macros

#define APPMESSAGE_HAS_WEATHER   1
 the face declares all four weather keys
#define APPMESSAGE_HAS_LOCATION   1
 the face declares both coordinate keys

Detailed Description

Which of the phone's optional features a face has, worked out from the message keys it declares. The waf build defines a HAS_MESSAGE_KEY_* for every key in the face's messageKeys, and this turns those into one switch per feature, so every file asking the same question gets the same answer.

APPMESSAGE_HAS_WEATHER is defined when the face has weather, and APPMESSAGE_HAS_LOCATION when it gets coordinates.