...and the new group protocol too.
This commit is contained in:
parent
6910512aae
commit
d308ddaeb8
2 changed files with 25 additions and 0 deletions
9
telldus-core/service/ProtocolGroup.cpp
Normal file
9
telldus-core/service/ProtocolGroup.cpp
Normal 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 "";
|
||||
}
|
16
telldus-core/service/ProtocolGroup.h
Normal file
16
telldus-core/service/ProtocolGroup.h
Normal 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
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue