27 lines
480 B
C++

#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