1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00
doorlockd-mirror/doorlockd/clientmessage.h
Ralf Ramsauer 8ed116bf7f Added proper client and doormessage classes
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:10 +02:00

25 lines
316 B
C++

#ifndef CLIENTMESSAGE_H
#define CLIENTMESSAGE_H
#include <string>
#include "doormessage.h"
class Clientmessage
{
public:
Clientmessage(std::string token,
Doormessage doormessage);
std::string toJson() const;
private:
std::string _token;
Doormessage _doormessage;
};
#endif