| 1 | #include "ims_object.h" |
| 2 | |
| 3 | ImStudio::BaseObject::BaseObject(int idgen_, std::string type_, int parent_id_) // for child widgets |
| 4 | { |
| 5 | ischildwidget = true; |
| 6 | id = idgen_; |
| 7 | type = type_; |
| 8 | identifier = "child" + std::to_string(parent_id_) + "::" + type_ + std::to_string(idgen_); |
| 9 | value_s = type_ + std::to_string(idgen_); |
| 10 | } |
| 11 | |
| 12 | ImStudio::Object::Object(int idgen_, std::string type_) : BaseObject() |
| 13 | { |
nothing calls this directly
no test coverage detected