CQtDeployer/Deploy/structs.cpp

23 lines
461 B
C++
Raw Normal View History

2019-03-18 10:33:03 +03:00
#include "structs.h"
bool LibInfo::operator ==(const LibInfo &other) {
return platform == other.platform &&
name == other.name;
}
QString LibInfo::fullPath() {
return path + "/" + name;
}
2019-03-19 21:50:05 +03:00
2019-03-23 23:13:52 +03:00
void LibInfo::clear() {
path = "";
name = "";
platform = Platform::UnknownPlatform;
dependncies.clear();
}
2019-03-19 21:50:05 +03:00
bool LibInfo::isValid() const {
return platform != Platform::UnknownPlatform &&
name.size() && path.size();
}