mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
25 lines
316 B
C
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
|