Loading...
Searching...
No Matches
wx_cond.g.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by the framework's tools/build-conditions.ts.
4// Source: the framework's ts/weather/conditions.ts
5//
6// Changes to this file may be lost if the code is regenerated.
7// Edit the source and run `npm run build:conditions` in the framework repo instead.
8// </auto-generated>
9//------------------------------------------------------------------------------
18#pragma once
19
24
48
60#define WX_COND_EACH(X) \
61 X(CLEAR) \
62 X(PCLDY) \
63 X(CLDY) \
64 X(FOGGY) \
65 X(DRZL) \
66 X(FZDZ) \
67 X(RAIN) \
68 X(FZRN) \
69 X(SNOW) \
70 X(SHWR) \
71 X(SNSH) \
72 X(STRM)
73
74#define WX_COND_TOKEN_LEN 6
75
76#define WX_COND_NIGHT_ENDING "_NIGHT"
77#define WX_COND_NIGHT_LEN 6
78
WxCond
Each weather condition the phone can send, numbered in the order of the shared list.
Definition wx_cond.g.h:32
@ WX_COND_SNSH
Snow Showers.
Definition wx_cond.g.h:43
@ WX_COND_FZDZ
Freezing Drizzle.
Definition wx_cond.g.h:38
@ WX_COND_RAIN
Rain.
Definition wx_cond.g.h:39
@ WX_COND_SHWR
Showers.
Definition wx_cond.g.h:42
@ WX_COND_FOGGY
Fog.
Definition wx_cond.g.h:36
@ WX_COND_DRZL
Drizzle.
Definition wx_cond.g.h:37
@ WX_COND_FZRN
Freezing Rain.
Definition wx_cond.g.h:40
@ WX_COND_SNOW
Snow.
Definition wx_cond.g.h:41
@ WX_COND_STRM
Thunderstorm.
Definition wx_cond.g.h:44
@ WX_COND_COUNT
How many conditions there are. Not a condition itself.
Definition wx_cond.g.h:45
@ WX_COND_CLEAR
Clear.
Definition wx_cond.g.h:33
@ WX_COND_UNKNOWN
A token the list does not hold, or none at all.
Definition wx_cond.g.h:46
@ WX_COND_PCLDY
Partly Cloudy.
Definition wx_cond.g.h:34
@ WX_COND_CLDY
Cloudy.
Definition wx_cond.g.h:35