Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 262:2354560daf2f
primitives for recycling patients
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Dec 2012 12:56:27 +0100 |
parents | e4148b0ab1d0 |
children | 4bc02e2254ec |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Wed Dec 05 13:56:53 2012 +0100 +++ b/OrthancServer/DatabaseWrapper.h Fri Dec 07 12:56:27 2012 +0100 @@ -179,6 +179,13 @@ void GetAllPublicIds(Json::Value& target, ResourceType resourceType); + bool SelectPatientToRecycle(int64_t& internalId); + + bool IsProtectedPatient(int64_t internalId); + + void SetProtectedPatient(int64_t internalId, + bool isProtected); + DatabaseWrapper(const std::string& path, IServerIndexListener& listener);