mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Cleanup headers
This commit is contained in:
parent
aabe695836
commit
44079e1468
@ -11,14 +11,12 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ArduinoJson.h"
|
|
||||||
|
|
||||||
#if HASP_USE_EEPROM > 0
|
#if HASP_USE_EEPROM > 0
|
||||||
#include "StreamUtils.h" // For EEPromStream
|
#include "StreamUtils.h" // For EEPromStream
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "lvgl.h"
|
#include "hasplib.h"
|
||||||
#include "lv_conf.h"
|
#include "lv_theme_hasp.h"
|
||||||
|
|
||||||
#if HASP_USE_DEBUG > 0
|
#if HASP_USE_DEBUG > 0
|
||||||
#include "../hasp_debug.h"
|
#include "../hasp_debug.h"
|
||||||
@ -31,10 +29,6 @@
|
|||||||
//#include "hasp_filesystem.h" included in hasp_conf.h
|
//#include "hasp_filesystem.h" included in hasp_conf.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "hasplib.h"
|
|
||||||
#include "hasp.h"
|
|
||||||
#include "lv_theme_hasp.h"
|
|
||||||
|
|
||||||
#include "dev/device.h"
|
#include "dev/device.h"
|
||||||
|
|
||||||
#if HASP_USE_EEPROM > 0
|
#if HASP_USE_EEPROM > 0
|
||||||
|
@ -5,11 +5,6 @@
|
|||||||
#include "ArduinoLog.h"
|
#include "ArduinoLog.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "lvgl.h"
|
|
||||||
#if LVGL_VERSION_MAJOR != 7
|
|
||||||
#include "../lv_components.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
LV_FONT_DECLARE(unscii_8_icon);
|
LV_FONT_DECLARE(unscii_8_icon);
|
||||||
|
@ -4,14 +4,7 @@
|
|||||||
#ifndef HASP_ATTR_SET_H
|
#ifndef HASP_ATTR_SET_H
|
||||||
#define HASP_ATTR_SET_H
|
#define HASP_ATTR_SET_H
|
||||||
|
|
||||||
#include "lvgl.h"
|
#include "hasplib.h"
|
||||||
#if LVGL_VERSION_MAJOR != 7
|
|
||||||
#include "../lv_components.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
|
||||||
#include "hasp.h"
|
|
||||||
#include "hasp_object.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
//#include "ArduinoLog.h"
|
//#include "ArduinoLog.h"
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
*
|
*
|
||||||
******************************************************************************************** */
|
******************************************************************************************** */
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
#include "lv_core/lv_obj.h" // for tabview ext
|
#include "lv_core/lv_obj.h" // for tabview ext
|
||||||
|
@ -15,11 +15,6 @@
|
|||||||
#include "ArduinoLog.h"
|
#include "ArduinoLog.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "lvgl.h"
|
|
||||||
#if LVGL_VERSION_MAJOR != 7
|
|
||||||
#include "../lv_components.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
const char** btnmatrix_default_map; // memory pointer to lvgl default btnmatrix map
|
const char** btnmatrix_default_map; // memory pointer to lvgl default btnmatrix map
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
#include "hasp_page.h"
|
|
||||||
|
|
||||||
namespace hasp {
|
namespace hasp {
|
||||||
|
|
||||||
bool Page::is_valid(uint8_t pageid)
|
bool Page::is_valid(uint8_t pageid)
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#ifndef HASP_PAGES_H
|
#ifndef HASP_PAGES_H
|
||||||
#define HASP_PAGES_H
|
#define HASP_PAGES_H
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
|
@ -1,17 +1,11 @@
|
|||||||
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
#include <cstdlib>
|
|
||||||
#include <cctype>
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
#ifdef ARDUINO
|
#ifdef ARDUINO
|
||||||
#include "pgmspace.h"
|
#include "pgmspace.h"
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "lvgl.h"
|
|
||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
bool Parser::haspPayloadToColor(const char* payload, lv_color32_t& color)
|
bool Parser::haspPayloadToColor(const char* payload, lv_color32_t& color)
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
#include "lv_conf.h"
|
|
||||||
#include "lvgl.h"
|
|
||||||
#include "lv_drv_conf.h"
|
#include "lv_drv_conf.h"
|
||||||
|
|
||||||
// Filesystem Driver
|
// Filesystem Driver
|
||||||
@ -24,8 +22,6 @@
|
|||||||
#include "hasp_gui.h"
|
#include "hasp_gui.h"
|
||||||
#include "hasp_oobe.h"
|
#include "hasp_oobe.h"
|
||||||
|
|
||||||
#include "hasplib.h"
|
|
||||||
|
|
||||||
//#include "tpcal.h"
|
//#include "tpcal.h"
|
||||||
|
|
||||||
//#include "Ticker.h"
|
//#include "Ticker.h"
|
||||||
|
@ -3,12 +3,7 @@
|
|||||||
|
|
||||||
#if HASP_USE_CONFIG > 0
|
#if HASP_USE_CONFIG > 0
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
#include "lvgl.h"
|
|
||||||
#if LVGL_VERSION_MAJOR != 7
|
|
||||||
#include "../lv_components.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "hasp_gui.h"
|
#include "hasp_gui.h"
|
||||||
#include "hasp_config.h"
|
#include "hasp_config.h"
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
|
#include <cstdlib>
|
||||||
|
#include <cctype>
|
||||||
|
#include <string>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
#include "hasp_conf.h"
|
||||||
|
|
||||||
|
#include "lv_conf.h"
|
||||||
|
#include "lvgl.h"
|
||||||
|
|
||||||
#include "hasp/hasp.h"
|
#include "hasp/hasp.h"
|
||||||
#include "hasp/hasp_attribute.h"
|
#include "hasp/hasp_attribute.h"
|
||||||
#include "hasp/hasp_dispatch.h"
|
#include "hasp/hasp_dispatch.h"
|
||||||
@ -10,3 +18,5 @@
|
|||||||
#include "hasp/hasp_lvfs.h"
|
#include "hasp/hasp_lvfs.h"
|
||||||
|
|
||||||
#include "hasp/lv_theme_hasp.h"
|
#include "hasp/lv_theme_hasp.h"
|
||||||
|
|
||||||
|
#include "ArduinoJson.h"
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
|
|
||||||
/* Single threaded synchronous paho client */
|
/* Single threaded synchronous paho client */
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
#if HASP_USE_MQTT > 0
|
#if HASP_USE_MQTT > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user