|
@ -8,6 +8,7 @@ |
|
|
|
|
|
|
|
|
#include "defines.h" |
|
|
#include "defines.h" |
|
|
#include "ESPAsyncWebServer.h" |
|
|
#include "ESPAsyncWebServer.h" |
|
|
|
|
|
#include "utils/scheduler.h" |
|
|
|
|
|
|
|
|
// abstract interface to App. Make members of App accessible from child class
|
|
|
// abstract interface to App. Make members of App accessible from child class
|
|
|
// like web or API without forward declaration
|
|
|
// like web or API without forward declaration
|
|
@ -25,6 +26,8 @@ class IApp { |
|
|
virtual const char *getVersion() = 0; |
|
|
virtual const char *getVersion() = 0; |
|
|
virtual const char *getVersionModules() = 0; |
|
|
virtual const char *getVersionModules() = 0; |
|
|
|
|
|
|
|
|
|
|
|
virtual void addOnce(ah::scdCb c, uint32_t timeout, const char *name) = 0; |
|
|
|
|
|
|
|
|
#if !defined(ETHERNET) |
|
|
#if !defined(ETHERNET) |
|
|
virtual bool getAvailNetworks(JsonObject obj) = 0; |
|
|
virtual bool getAvailNetworks(JsonObject obj) = 0; |
|
|
virtual void setupStation(void) = 0; |
|
|
virtual void setupStation(void) = 0; |
|
|