Mercurial > hg > orthanc
diff Core/Enumerations.cpp @ 1773:613df4362575
New UpdatedAttachment and UpdatedMetadata events in plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Nov 2015 15:24:23 +0100 |
parents | 53e045b5a8ec |
children | 5ad4e4d92ecb |
line wrap: on
line diff
--- a/Core/Enumerations.cpp Thu Nov 12 14:36:27 2015 +0100 +++ b/Core/Enumerations.cpp Thu Nov 12 15:24:23 2015 +0100 @@ -1135,4 +1135,11 @@ return HttpStatus_500_InternalServerError; } } + + + bool IsUserContentType(FileContentType type) + { + return (type >= FileContentType_StartUser && + type <= FileContentType_EndUser); + } }