Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.h @ 1299:4ce47e8ed0d2
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 15:13:05 +0100 |
parents | 501432928727 |
children | 382439943749 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h Fri Feb 06 14:42:30 2015 +0100 +++ b/OrthancServer/ServerIndex.h Fri Feb 06 15:13:05 2015 +0100 @@ -117,6 +117,9 @@ void SetMainDicomTags(int64_t resource, const DicomMap& tags); + int64_t CreateResource(const std::string& publicId, + ResourceType type); + public: ServerIndex(ServerContext& context, IDatabaseWrapper& database);