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