Mercurial > hg > orthanc-object-storage
diff Common/FileSystemStorage.h @ 111:407bd022b0cf
in /move-storage: now detecting if file should be moved or not
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 10 Oct 2023 16:11:18 +0200 |
parents | d7295e8678d7 |
children | 3c7e0374f28e |
line wrap: on
line diff
--- a/Common/FileSystemStorage.h Tue Oct 10 15:40:36 2023 +0200 +++ b/Common/FileSystemStorage.h Tue Oct 10 16:11:18 2023 +0200 @@ -70,4 +70,7 @@ virtual IStorage::IWriter* GetWriterForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); virtual IStorage::IReader* GetReaderForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); virtual void DeleteObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); + + virtual bool HasFileExists() {return true;}; + virtual bool FileExists(const std::string& uuid, OrthancPluginContentType type, bool encryptionEnabled); }; \ No newline at end of file