mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
39 lines
596 B
C
39 lines
596 B
C
#include <QList>
|
|
#include <QString>
|
|
|
|
#ifndef FILEDATA_H
|
|
#define FILEDATA_H
|
|
|
|
struct FileData
|
|
{
|
|
QString path;
|
|
QString hash;
|
|
|
|
bool operator==(const FileData& other)const
|
|
{
|
|
if(this->path== other.path && this->hash == other.hash) return true;
|
|
return false;
|
|
}
|
|
|
|
bool operator<(const FileData& data2) const
|
|
{
|
|
return this->hash == "FOLDER" && data2.hash !="FOLDER";
|
|
}
|
|
|
|
}; //путь
|
|
|
|
struct SAttribute
|
|
{
|
|
QString name;
|
|
QString value;
|
|
|
|
};
|
|
|
|
struct SXmlAnswerTag{
|
|
QString elementName;
|
|
QList<SAttribute> attr;
|
|
};
|
|
|
|
#endif // FILEDATA_H
|
|
|