consolidate all repos to one for archive
This commit is contained in:
19
semester_2/programiranje_2/naloga0502/GarageDoor.h
Normal file
19
semester_2/programiranje_2/naloga0502/GarageDoor.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user