Mercurial > hg > orthanc-authorization
comparison Plugin/ResourceHierarchyCache.h @ 78:a2e5ea1869bd
fix build
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 15 Mar 2023 20:27:43 +0100 |
parents | 94a9484d7f8f |
children | 7381a7674b36 |
comparison
equal
deleted
inserted
replaced
77:94a9484d7f8f | 78:a2e5ea1869bd |
---|---|
87 | 87 |
88 bool LookupOrthancId(std::string& target, | 88 bool LookupOrthancId(std::string& target, |
89 Orthanc::ResourceType level, | 89 Orthanc::ResourceType level, |
90 const std::string& dicomUid); | 90 const std::string& dicomUid); |
91 | 91 |
92 #if BUILD_UNIT_TESTS == 1 | |
92 FRIEND_TEST(DefaultAuthorizationParser, Parse); | 93 FRIEND_TEST(DefaultAuthorizationParser, Parse); |
93 protected: | 94 protected: |
94 void AddOrthancDicomMapping(Orthanc::ResourceType level, | 95 void AddOrthancDicomMapping(Orthanc::ResourceType level, |
95 const std::string& orthancId, | 96 const std::string& orthancId, |
96 const std::string& dicomUid); | 97 const std::string& dicomUid); |
97 | 98 |
98 void AddParentLink(Orthanc::ResourceType childLevel, | 99 void AddParentLink(Orthanc::ResourceType childLevel, |
99 const std::string& childOrthancId, | 100 const std::string& childOrthancId, |
100 const std::string& parentOrthancId); | 101 const std::string& parentOrthancId); |
101 | 102 #endif |
102 }; | 103 }; |
103 } | 104 } |