52#error "weather needs WEATHER_REQUEST in messageKeys. A face with weather declares WEATHER_REQUEST, WEATHER_TEMPERATURE, WEATHER_CONDITIONS, and WEATHER_OK"
55#error "weather needs WEATHER_TEMPERATURE in messageKeys. A face with weather declares WEATHER_REQUEST, WEATHER_TEMPERATURE, WEATHER_CONDITIONS, and WEATHER_OK"
58#error "weather needs WEATHER_CONDITIONS in messageKeys. A face with weather declares WEATHER_REQUEST, WEATHER_TEMPERATURE, WEATHER_CONDITIONS, and WEATHER_OK"
59#endif
60#if !defined(HAS_MESSAGE_KEY_WEATHER_OK)
61#error "weather needs WEATHER_OK in messageKeys. A face with weather declares WEATHER_REQUEST, WEATHER_TEMPERATURE, WEATHER_CONDITIONS, and WEATHER_OK"
62#endif
63#endif
64
65// the weather extras, today's forecast, and the air readings are each read whole, so a face that
66// declares only part of one would get none of it and leave those panels on dashes with nothing to
67// say why. the build stops instead and names each missing key
76#error "the weather extras need WEATHER_HUMIDITY in messageKeys. A face with the extras declares WEATHER_HUMIDITY, WEATHER_WIND_SPEED, WEATHER_WIND_DIR, WEATHER_SUNRISE, and WEATHER_SUNSET"
79#error "the weather extras need WEATHER_WIND_SPEED in messageKeys. A face with the extras declares WEATHER_HUMIDITY, WEATHER_WIND_SPEED, WEATHER_WIND_DIR, WEATHER_SUNRISE, and WEATHER_SUNSET"
80#endif
81#if !defined(HAS_MESSAGE_KEY_WEATHER_WIND_DIR)
82#error "the weather extras need WEATHER_WIND_DIR in messageKeys. A face with the extras declares WEATHER_HUMIDITY, WEATHER_WIND_SPEED, WEATHER_WIND_DIR, WEATHER_SUNRISE, and WEATHER_SUNSET"
83#endif
84#if !defined(HAS_MESSAGE_KEY_WEATHER_SUNRISE)
85#error "the weather extras need WEATHER_SUNRISE in messageKeys. A face with the extras declares WEATHER_HUMIDITY, WEATHER_WIND_SPEED, WEATHER_WIND_DIR, WEATHER_SUNRISE, and WEATHER_SUNSET"
86#endif
87#if !defined(HAS_MESSAGE_KEY_WEATHER_SUNSET)
88#error "the weather extras need WEATHER_SUNSET in messageKeys. A face with the extras declares WEATHER_HUMIDITY, WEATHER_WIND_SPEED, WEATHER_WIND_DIR, WEATHER_SUNRISE, and WEATHER_SUNSET"
98#error "today's forecast needs WEATHER_UV_INDEX in messageKeys. A face with today's forecast declares WEATHER_UV_INDEX, WEATHER_TEMP_MAX, WEATHER_TEMP_MIN, and WEATHER_PRECIP_CHANCE"
99#endif
100#if !defined(HAS_MESSAGE_KEY_WEATHER_TEMP_MAX)
101#error "today's forecast needs WEATHER_TEMP_MAX in messageKeys. A face with today's forecast declares WEATHER_UV_INDEX, WEATHER_TEMP_MAX, WEATHER_TEMP_MIN, and WEATHER_PRECIP_CHANCE"
102#endif
103#if !defined(HAS_MESSAGE_KEY_WEATHER_TEMP_MIN)
104#error "today's forecast needs WEATHER_TEMP_MIN in messageKeys. A face with today's forecast declares WEATHER_UV_INDEX, WEATHER_TEMP_MAX, WEATHER_TEMP_MIN, and WEATHER_PRECIP_CHANCE"
107#error "today's forecast needs WEATHER_PRECIP_CHANCE in messageKeys. A face with today's forecast declares WEATHER_UV_INDEX, WEATHER_TEMP_MAX, WEATHER_TEMP_MIN, and WEATHER_PRECIP_CHANCE"
117#error "the air readings need WEATHER_FEELS_LIKE in messageKeys. A face with the air readings declares WEATHER_FEELS_LIKE, WEATHER_PRESSURE, and WEATHER_DEW_POINT"
118#endif
119#if !defined(HAS_MESSAGE_KEY_WEATHER_PRESSURE)
120#error "the air readings need WEATHER_PRESSURE in messageKeys. A face with the air readings declares WEATHER_FEELS_LIKE, WEATHER_PRESSURE, and WEATHER_DEW_POINT"
123#error "the air readings need WEATHER_DEW_POINT in messageKeys. A face with the air readings declares WEATHER_FEELS_LIKE, WEATHER_PRESSURE, and WEATHER_DEW_POINT"
124#endif
125#endif
126
127// a weather group is only read beside a reading, so one declared without the four weather keys
128// would build and never arrive. the build stops instead. a face with some of the four already has
129// an error above for each one it is missing, so this only fires for a face with none of them
136#error "the weather groups need weather in messageKeys. Declare WEATHER_REQUEST, WEATHER_TEMPERATURE, WEATHER_CONDITIONS, and WEATHER_OK beside them"
137#endif
138
139// a face gets coordinates when it declares both halves of the pair. they arrive together, so one
140// without the other could never make a fix, and the build stops and names the missing half rather
141// than leave the face without coordinates and nothing to say why
170#error "now playing needs MUSIC_TITLE in messageKeys. A face with now playing declares MUSIC_TITLE, MUSIC_ARTIST, MUSIC_PLAYING, and MUSIC_REQUEST"
171#endif
172#if !defined(HAS_MESSAGE_KEY_MUSIC_ARTIST)
173#error "now playing needs MUSIC_ARTIST in messageKeys. A face with now playing declares MUSIC_TITLE, MUSIC_ARTIST, MUSIC_PLAYING, and MUSIC_REQUEST"
174#endif
175#if !defined(HAS_MESSAGE_KEY_MUSIC_PLAYING)
176#error "now playing needs MUSIC_PLAYING in messageKeys. A face with now playing declares MUSIC_TITLE, MUSIC_ARTIST, MUSIC_PLAYING, and MUSIC_REQUEST"
177#endif
178#if !defined(HAS_MESSAGE_KEY_MUSIC_REQUEST)
179#error "now playing needs MUSIC_REQUEST in messageKeys. A face with now playing declares MUSIC_TITLE, MUSIC_ARTIST, MUSIC_PLAYING, and MUSIC_REQUEST"
180#endif
181#endif
182
183// album art rides its own key beside the four now playing keys, for a face that started the phone's
184// music feature with art. art with no track to go beside would never be asked for
195#error "a kept plugin source choice needs SETTINGS_REQUEST and SETTINGS_FRESH in messageKeys, since only the settings reply hands it back to the phone"