Mercurial > hg > orthanc-object-storage
comparison Common/IStoragePlugin.h @ 20:968eb1c78aed
Added 'RootPath' configuration
author | Alain Mazy |
---|---|
date | Mon, 07 Sep 2020 14:12:49 +0200 |
parents | 2a02b21f0a19 |
children | f55b2afdf53d |
comparison
equal
deleted
inserted
replaced
18:44de9edf2443 | 20:968eb1c78aed |
---|---|
64 virtual size_t GetSize() = 0; | 64 virtual size_t GetSize() = 0; |
65 virtual void Read(char* data, size_t size) = 0; | 65 virtual void Read(char* data, size_t size) = 0; |
66 }; | 66 }; |
67 | 67 |
68 public: | 68 public: |
69 virtual void SetRootPath(const std::string& rootPath) = 0; | |
69 | 70 |
70 virtual IWriter* GetWriterForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled) = 0; | 71 virtual IWriter* GetWriterForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled) = 0; |
71 virtual IReader* GetReaderForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled) = 0; | 72 virtual IReader* GetReaderForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled) = 0; |
72 virtual void DeleteObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled) = 0; | 73 virtual void DeleteObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled) = 0; |
73 virtual const char* GetConfigurationSectionName() = 0; | 74 virtual const char* GetConfigurationSectionName() = 0; |