Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
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
31
typedef
enum
32
{
33
WX_COND_CLEAR
= 0,
34
WX_COND_PCLDY
= 1,
35
WX_COND_CLDY
= 2,
36
WX_COND_FOGGY
= 3,
37
WX_COND_DRZL
= 4,
38
WX_COND_FZDZ
= 5,
39
WX_COND_RAIN
= 6,
40
WX_COND_FZRN
= 7,
41
WX_COND_SNOW
= 8,
42
WX_COND_SHWR
= 9,
43
WX_COND_SNSH
= 10,
44
WX_COND_STRM
= 11,
45
WX_COND_COUNT
= 12,
46
WX_COND_UNKNOWN
= 255,
47
}
WxCond
;
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
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
@ WX_COND_SNSH
Snow Showers.
Definition
wx_cond.g.h:43
WX_COND_FZDZ
@ WX_COND_FZDZ
Freezing Drizzle.
Definition
wx_cond.g.h:38
WX_COND_RAIN
@ WX_COND_RAIN
Rain.
Definition
wx_cond.g.h:39
WX_COND_SHWR
@ WX_COND_SHWR
Showers.
Definition
wx_cond.g.h:42
WX_COND_FOGGY
@ WX_COND_FOGGY
Fog.
Definition
wx_cond.g.h:36
WX_COND_DRZL
@ WX_COND_DRZL
Drizzle.
Definition
wx_cond.g.h:37
WX_COND_FZRN
@ WX_COND_FZRN
Freezing Rain.
Definition
wx_cond.g.h:40
WX_COND_SNOW
@ WX_COND_SNOW
Snow.
Definition
wx_cond.g.h:41
WX_COND_STRM
@ WX_COND_STRM
Thunderstorm.
Definition
wx_cond.g.h:44
WX_COND_COUNT
@ WX_COND_COUNT
How many conditions there are. Not a condition itself.
Definition
wx_cond.g.h:45
WX_COND_CLEAR
@ WX_COND_CLEAR
Clear.
Definition
wx_cond.g.h:33
WX_COND_UNKNOWN
@ WX_COND_UNKNOWN
A token the list does not hold, or none at all.
Definition
wx_cond.g.h:46
WX_COND_PCLDY
@ WX_COND_PCLDY
Partly Cloudy.
Definition
wx_cond.g.h:34
WX_COND_CLDY
@ WX_COND_CLDY
Cloudy.
Definition
wx_cond.g.h:35
src
c
core
weather
wx_cond.g.h
Generated by
1.18.0