Mercurial > hg > orthanc
comparison OrthancServer/ServerEnumerations.cpp @ 3991:5d2348b39392
turning toolbox namespaces into classes to control visibility in shared libraries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 29 May 2020 21:23:57 +0200 |
parents | e6606d3ec892 |
children |
comparison
equal
deleted
inserted
replaced
3990:226ab94a33cd | 3991:5d2348b39392 |
---|---|
44 namespace Orthanc | 44 namespace Orthanc |
45 { | 45 { |
46 typedef std::map<FileContentType, std::string> MimeTypes; | 46 typedef std::map<FileContentType, std::string> MimeTypes; |
47 | 47 |
48 static boost::mutex enumerationsMutex_; | 48 static boost::mutex enumerationsMutex_; |
49 static Toolbox::EnumerationDictionary<MetadataType> dictMetadataType_; | 49 static EnumerationDictionary<MetadataType> dictMetadataType_; |
50 static Toolbox::EnumerationDictionary<FileContentType> dictContentType_; | 50 static EnumerationDictionary<FileContentType> dictContentType_; |
51 static MimeTypes mimeTypes_; | 51 static MimeTypes mimeTypes_; |
52 | 52 |
53 void InitializeServerEnumerations() | 53 void InitializeServerEnumerations() |
54 { | 54 { |
55 boost::mutex::scoped_lock lock(enumerationsMutex_); | 55 boost::mutex::scoped_lock lock(enumerationsMutex_); |