1
0
MAX7456JSON/lib/CommandHandler/CommandHandler.h
Jens True 3b09803b3a
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Doxygen code comments included
2021-10-28 14:44:20 +00:00

19 lines
363 B
C++

#ifndef COMMANDHANDLER_H
#define COMMANDHANDLER_H
#include "DisplayProxy.h"
/**
* Parse a JSON command and convert it into a display command
*/
class CommandHandler
{
public:
explicit CommandHandler(DisplayProxy *display);
bool parse(const char *cmd);
private:
void debugWrite(int x, int y, const char *text);
DisplayProxy *display;
};
#endif