1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 03:29:16 +02:00

Rotate JPEG thumbnails acording to EXIF data

fixes #385
This commit is contained in:
2021-08-04 08:57:42 +02:00
parent 6e4cc406ab
commit 933f2c3837
40 changed files with 467 additions and 139 deletions

View File

@ -9,8 +9,19 @@ public:
const KEY &key() const {return _key;}
const VALUE &value() const {return _value;}
bool operator==(const KV &other) const {return _key == other._key;}
bool operator<(const KV &other) const {return _key < other._key;}
bool operator==(const KV &other) const
{
return (_key == other._key && _value == other._value);
}
bool operator<(const KV &other) const
{
if (_key < other._key)
return true;
else if (_key > other._key)
return false;
else
return _value < other._value;
}
private:
KEY _key;