Mercurial > hg > orthanc
view OrthancServer/Plugins/Samples/DelayedDeletion/PendingDeletionsDatabase.h @ 5129:16138d6d568d
fix decoding of RLE images for which the "Planar Configuration" tag (0028,0006) equals 1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Dec 2022 15:28:14 +0100 |
parents | c2ebc47f4f18 |
children | 99751c5a7cfe |
line wrap: on
line source
#pragma once #include "../../../../OrthancFramework/Sources/SQLite/Connection.h" #include <boost/thread/mutex.hpp> #include <boost/noncopyable.hpp> class PendingDeletionsDatabase : public boost::noncopyable { private: boost::mutex mutex_; Orthanc::SQLite::Connection db_; void Setup(); public: PendingDeletionsDatabase(const std::string& path); void Enqueue(const std::string& uuid, Orthanc::FileContentType type); bool Dequeue(std::string& uuid, Orthanc::FileContentType& type); unsigned int GetSize(); };