mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
common code style
This commit is contained in:
parent
0d92d15432
commit
f504cf4e92
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
class Clientmessage
|
class Clientmessage
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Clientmessage(std::string token,
|
Clientmessage(std::string token,
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#ifndef DOORMESSAGE_H
|
#ifndef DOORMESSAGE_H
|
||||||
#define DOORMESSAGE_H
|
#define DOORMESSAGE_H
|
||||||
|
|
||||||
struct Doormessage {
|
struct Doormessage
|
||||||
|
{
|
||||||
bool isOpen = { false };
|
bool isOpen = { false };
|
||||||
bool isUnlockButton = { false };
|
bool isUnlockButton = { false };
|
||||||
bool isLockButton = { false };
|
bool isLockButton = { false };
|
||||||
|
@ -26,8 +26,8 @@ enum class LogLevel : unsigned char
|
|||||||
* The logger class is a thread-safe class which is used for formatting and forwarding
|
* The logger class is a thread-safe class which is used for formatting and forwarding
|
||||||
* log messages.
|
* log messages.
|
||||||
*/
|
*/
|
||||||
class Logger final {
|
class Logger final
|
||||||
|
{
|
||||||
public:
|
public:
|
||||||
static Logger &get();
|
static Logger &get();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user