Turns the condition token the phone sends into its WxCond. More...
Macros | |
| #define | TOKEN_ROW(name) |
| One condition's name as its token. | |
Functions | |
| WxCond | wx_cond_parse (const char *token, bool *night) |
| Finds the condition for a token, with or without its "_NIGHT" ending. | |
Variables | |
| static const char | s_tokens [WX_COND_COUNT][WX_COND_TOKEN_LEN] = {WX_COND_EACH(TOKEN_ROW)} |
| Each condition's token in a fixed width row, indexed by its WxCond. The rows are plain bytes rather than pointers, so the watch has no pointer per token to fix up when it loads the app. | |
Turns the condition token the phone sends into its WxCond.
| #define TOKEN_ROW | ( | name | ) |
One condition's name as its token.