CQtDeployer/Deploy/structs.cpp

23 lines
461 B
C++

#include "structs.h"
bool LibInfo::operator ==(const LibInfo &other) {
return platform == other.platform &&
name == other.name;
}
QString LibInfo::fullPath() {
return path + "/" + name;
}
void LibInfo::clear() {
path = "";
name = "";
platform = Platform::UnknownPlatform;
dependncies.clear();
}
bool LibInfo::isValid() const {
return platform != Platform::UnknownPlatform &&
name.size() && path.size();
}