| 12345678910111213141516171819202122232425262728 |
- #include <string>
- #include "light.hpp"
- namespace cx_light {
- light::light(std::string name, std::string address) {
- this->name = name;
- this->address = address;
- }
- light::~light() {
- }
- std::string light::get_name() {
- return this->name;
- }
- std::string light::get_address() {
- return this->address;
- }
- light * light::copy() {
- return new light(this->get_name(), this->get_address());
- }
- }
|