| 49 | #include <assert.h> |
| 50 | |
| 51 | Component::Component(PackProfile * parent, const QString& uid) |
| 52 | { |
| 53 | assert(parent); |
| 54 | m_parent = parent; |
| 55 | |
| 56 | m_uid = uid; |
| 57 | } |
| 58 | |
| 59 | Component::Component(PackProfile * parent, std::shared_ptr<Meta::Version> version) |
| 60 | { |