mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-20 05:53:14 +01:00
70a4b3de03
- Improved doormessage - Moved isOpen from Doormessage to Logic
18 lines
323 B
C
18 lines
323 B
C
#ifndef DOORMESSAGE_H
|
|
#define DOORMESSAGE_H
|
|
|
|
struct Doormessage
|
|
{
|
|
Doormessage(bool isUnlockButton,
|
|
bool isLockButton,
|
|
bool isEmergencyUnlock);
|
|
|
|
Doormessage();
|
|
|
|
bool isUnlockButton = { false };
|
|
bool isLockButton = { false };
|
|
bool isEmergencyUnlock = { false };
|
|
};
|
|
|
|
#endif
|