Initial project commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "service.h"
|
||||
|
||||
#define MAX_SERVICES 10
|
||||
|
||||
class ServiceManager {
|
||||
public:
|
||||
|
||||
void add(Service* service);
|
||||
|
||||
void begin();
|
||||
|
||||
void update();
|
||||
|
||||
private:
|
||||
|
||||
Service* services[MAX_SERVICES];
|
||||
uint8_t count = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user