18 lines
470 B
C++
18 lines
470 B
C++
#ifndef PROTOCOLEVERFLOURISH_H
|
|
#define PROTOCOLEVERFLOURISH_H
|
|
|
|
#include "service/Protocol.h"
|
|
#include "service/ControllerMessage.h"
|
|
|
|
class ProtocolEverflourish : public Protocol
|
|
{
|
|
public:
|
|
int methods() const;
|
|
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
|
|
static std::string decodeData(ControllerMessage &dataMsg);
|
|
|
|
private:
|
|
static unsigned int calculateChecksum(unsigned int x);
|
|
};
|
|
|
|
#endif //PROTOCOLEVERFLOURISH_H
|