consolidate all repos to one for archive
This commit is contained in:
26
semester_2/programiranje_2/naloga0502/SmartHome.h
Normal file
26
semester_2/programiranje_2/naloga0502/SmartHome.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef NALOGA0502_SMARTHOME_H
|
||||
#define NALOGA0502_SMARTHOME_H
|
||||
|
||||
#include <vector>
|
||||
#include "Device.h"
|
||||
#include "Light.h"
|
||||
#include "Blinds.h"
|
||||
#include "GarageDoor.h"
|
||||
#include "WateringSistem.h"
|
||||
|
||||
class SmartHome {
|
||||
private:
|
||||
std::string name;
|
||||
std::vector<Device*> devices;
|
||||
public:
|
||||
explicit SmartHome(std::string name);
|
||||
|
||||
~SmartHome();
|
||||
|
||||
std::string toString() const;
|
||||
|
||||
void addDevice(Device *device);
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA0502_SMARTHOME_H
|
||||
Reference in New Issue
Block a user