From d308ddaeb80494293a4c2023593d77655e5d9a0b Mon Sep 17 00:00:00 2001 From: Stefan Persson Date: Tue, 16 Nov 2010 09:43:33 +0000 Subject: [PATCH] ...and the new group protocol too. --- telldus-core/service/ProtocolGroup.cpp | 9 +++++++++ telldus-core/service/ProtocolGroup.h | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 telldus-core/service/ProtocolGroup.cpp create mode 100644 telldus-core/service/ProtocolGroup.h diff --git a/telldus-core/service/ProtocolGroup.cpp b/telldus-core/service/ProtocolGroup.cpp new file mode 100644 index 00000000..a832be1b --- /dev/null +++ b/telldus-core/service/ProtocolGroup.cpp @@ -0,0 +1,9 @@ +#include "ProtocolGroup.h" + +int ProtocolGroup::methods() const { + return 0; +} + +std::string ProtocolGroup::getStringForMethod(int method, unsigned char data, Controller *) { + return ""; +} \ No newline at end of file diff --git a/telldus-core/service/ProtocolGroup.h b/telldus-core/service/ProtocolGroup.h new file mode 100644 index 00000000..b75e36e3 --- /dev/null +++ b/telldus-core/service/ProtocolGroup.h @@ -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 + + +