22 lines
363 B
C++
22 lines
363 B
C++
#ifndef ServerManager_h
|
|
#define ServerManager_h
|
|
|
|
#include <Arduino.h>
|
|
|
|
class ServerManager_
|
|
{
|
|
private:
|
|
ServerManager_() = default;
|
|
|
|
public:
|
|
static ServerManager_ &getInstance();
|
|
void setup();
|
|
void tick();
|
|
void loadSettings();
|
|
bool isConnected;
|
|
void SaveSettings();
|
|
};
|
|
|
|
extern ServerManager_ &ServerManager;
|
|
|
|
#endif |