20 lines
347 B
C++
20 lines
347 B
C++
#ifndef NALOGA0502_GARAGEDOOR_H
|
|
#define NALOGA0502_GARAGEDOOR_H
|
|
|
|
#include "Device.h"
|
|
|
|
class GarageDoor: public Device{
|
|
private:
|
|
bool open;
|
|
public:
|
|
GarageDoor(std::string id, std::string name, bool open);
|
|
|
|
std::string isOpen() const;
|
|
|
|
std::string toString() const override;
|
|
|
|
};
|
|
|
|
|
|
#endif //NALOGA0502_GARAGEDOOR_H
|