Cleanup headers

This commit is contained in:
fvanroie 2021-05-01 01:24:27 +02:00
parent aabe695836
commit 44079e1468
13 changed files with 16 additions and 54 deletions

View File

@ -11,14 +11,12 @@
#include <sstream>
#endif
#include "ArduinoJson.h"
#if HASP_USE_EEPROM > 0
#include "StreamUtils.h" // For EEPromStream
#endif
#include "lvgl.h"
#include "lv_conf.h"
#include "hasplib.h"
#include "lv_theme_hasp.h"
#if HASP_USE_DEBUG > 0
#include "../hasp_debug.h"
@ -31,10 +29,6 @@
//#include "hasp_filesystem.h" included in hasp_conf.h
#endif
#include "hasplib.h"
#include "hasp.h"
#include "lv_theme_hasp.h"
#include "dev/device.h"
#if HASP_USE_EEPROM > 0

View File

@ -5,11 +5,6 @@
#include "ArduinoLog.h"
#endif
#include "lvgl.h"
#if LVGL_VERSION_MAJOR != 7
#include "../lv_components.h"
#endif
#include "hasplib.h"
LV_FONT_DECLARE(unscii_8_icon);

View File

@ -4,14 +4,7 @@
#ifndef HASP_ATTR_SET_H
#define HASP_ATTR_SET_H
#include "lvgl.h"
#if LVGL_VERSION_MAJOR != 7
#include "../lv_components.h"
#endif
#include "hasp_conf.h"
#include "hasp.h"
#include "hasp_object.h"
#include "hasplib.h"
#ifdef __cplusplus
extern "C" {

View File

@ -1,8 +1,6 @@
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
For full license information read the LICENSE file in the project folder */
#include <stdint.h>
//#include "ArduinoLog.h"
#include "hasplib.h"

View File

@ -22,7 +22,6 @@
*
******************************************************************************************** */
#include "hasp_conf.h"
#include "hasplib.h"
#include "lv_core/lv_obj.h" // for tabview ext

View File

@ -15,11 +15,6 @@
#include "ArduinoLog.h"
#endif
#include "lvgl.h"
#if LVGL_VERSION_MAJOR != 7
#include "../lv_components.h"
#endif
#include "hasplib.h"
const char** btnmatrix_default_map; // memory pointer to lvgl default btnmatrix map

View File

@ -1,11 +1,8 @@
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
For full license information read the LICENSE file in the project folder */
#include "hasp_conf.h"
#include "hasplib.h"
#include "hasp_page.h"
namespace hasp {
bool Page::is_valid(uint8_t pageid)

View File

@ -4,7 +4,6 @@
#ifndef HASP_PAGES_H
#define HASP_PAGES_H
#include "hasp_conf.h"
#include "hasplib.h"
/*********************

View File

@ -1,17 +1,11 @@
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
For full license information read the LICENSE file in the project folder */
#include <cstdlib>
#include <cctype>
#include <string>
#ifdef ARDUINO
#include "pgmspace.h"
#include "Arduino.h"
#endif
#include "lvgl.h"
#include "hasplib.h"
bool Parser::haspPayloadToColor(const char* payload, lv_color32_t& color)

View File

@ -1,10 +1,8 @@
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
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"
// Filesystem Driver
@ -24,8 +22,6 @@
#include "hasp_gui.h"
#include "hasp_oobe.h"
#include "hasplib.h"
//#include "tpcal.h"
//#include "Ticker.h"

View File

@ -3,12 +3,7 @@
#if HASP_USE_CONFIG > 0
#include "hasp_conf.h"
#include "lvgl.h"
#if LVGL_VERSION_MAJOR != 7
#include "../lv_components.h"
#endif
#include "hasplib.h"
#include "hasp_gui.h"
#include "hasp_config.h"

View File

@ -1,5 +1,13 @@
#include <cstdlib>
#include <cctype>
#include <string>
#include <stdint.h>
#include "hasp_conf.h"
#include "lv_conf.h"
#include "lvgl.h"
#include "hasp/hasp.h"
#include "hasp/hasp_attribute.h"
#include "hasp/hasp_dispatch.h"
@ -9,4 +17,6 @@
#include "hasp/hasp_parser.h"
#include "hasp/hasp_lvfs.h"
#include "hasp/lv_theme_hasp.h"
#include "hasp/lv_theme_hasp.h"
#include "ArduinoJson.h"

View File

@ -3,9 +3,6 @@
/* Single threaded synchronous paho client */
#include <stdint.h>
#include "hasp_conf.h"
#include "hasplib.h"
#if HASP_USE_MQTT > 0