Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.h @ 5577:9e74e761b108 find-refactoring
integration mainline->find-refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 Apr 2024 17:43:22 +0200 |
parents | d7eaa568da15 |
children | f7adfb22e20e |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.h Fri Apr 26 16:32:18 2024 +0200 +++ b/OrthancFramework/Sources/Toolbox.h Fri Apr 26 17:43:22 2024 +0200 @@ -416,6 +416,15 @@ static std::string GetHumanTransferSpeed(bool full, uint64_t sizeInBytes, uint64_t durationInNanoseconds); + static bool ParseVersion(unsigned int& major, + unsigned int& minor, + unsigned int& revision, + const char* version); + + static bool IsVersionAbove(const char* version, + unsigned int major, + unsigned int minor, + unsigned int revision); }; }