...and the new group protocol too.

This commit is contained in:
Stefan Persson 2010-11-16 09:43:33 +00:00
parent 6910512aae
commit d308ddaeb8
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#include "ProtocolGroup.h"
int ProtocolGroup::methods() const {
return 0;
}
std::string ProtocolGroup::getStringForMethod(int method, unsigned char data, Controller *) {
return "";
}

View file

@ -0,0 +1,16 @@
#ifndef PROTOCOLGROUP_H
#define PROTOCOLGROUP_H
#include "Protocol.h"
class ProtocolGroup : public Protocol {
public:
virtual int methods() const;
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLGROUP_H