mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-03 21:19:34 +00:00
23 lines
461 B
C++
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();
|
|
}
|