Loading...
Searching...
No Matches
wx_cond.g.h File Reference

The weather conditions as numbers, in the order of the shared list. More...

Go to the source code of this file.

Macros

#define WX_COND_EACH(X)
 Hands each condition's name to X, in WxCond order.
#define WX_COND_TOKEN_LEN   6
 The room the longest token takes, terminator included.
#define WX_COND_NIGHT_ENDING   "_NIGHT"
 What the phone adds to a token after dark.
#define WX_COND_NIGHT_LEN   6
 The night ending's length, without its terminator.

Enumerations

enum  WxCond {
  WX_COND_CLEAR = 0 , WX_COND_PCLDY = 1 , WX_COND_CLDY = 2 , WX_COND_FOGGY = 3 ,
  WX_COND_DRZL = 4 , WX_COND_FZDZ = 5 , WX_COND_RAIN = 6 , WX_COND_FZRN = 7 ,
  WX_COND_SNOW = 8 , WX_COND_SHWR = 9 , WX_COND_SNSH = 10 , WX_COND_STRM = 11 ,
  WX_COND_COUNT = 12 , WX_COND_UNKNOWN = 255
}
 Each weather condition the phone can send, numbered in the order of the shared list. More...

Detailed Description

The weather conditions as numbers, in the order of the shared list.

Generated from the framework's ts/weather/conditions.ts, so the phone and the watch read the same numbers.