CQtDeployer/Deploy/structs.cpp

16 lines
337 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
bool LibInfo::isValid() const {
return platform != Platform::UnknownPlatform &&
name.size() && path.size();
}