Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 198:663cc6c46d0a
before refactoring of ServerIndex::GetXXX
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Nov 2012 15:49:42 +0100 |
parents | 530a25320461 |
children | dfa2899d9960 |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Tue Nov 27 14:59:55 2012 +0100 +++ b/OrthancServer/DatabaseWrapper.h Tue Nov 27 15:49:42 2012 +0100 @@ -78,6 +78,11 @@ int64_t& id, ResourceType& type); + bool LookupParent(int64_t& parentId, + int64_t resourceId); + + std::string GetPublicId(int64_t resourceId); + void AttachChild(int64_t parent, int64_t child);