mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-16 20:19:13 +01:00
26 lines
225 B
C
26 lines
225 B
C
|
#ifndef DOOR_H
|
||
|
#define DOOR_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "logger.h"
|
||
|
|
||
|
class Door {
|
||
|
|
||
|
public:
|
||
|
static Door &get();
|
||
|
|
||
|
~Door();
|
||
|
|
||
|
void lock();
|
||
|
void unlock();
|
||
|
|
||
|
private:
|
||
|
|
||
|
Door();
|
||
|
|
||
|
const Logger &_l;
|
||
|
};
|
||
|
|
||
|
#endif
|