Mercurial > hg > orthanc-object-storage
comparison Azure/AzureBlobStoragePlugin.cpp @ 94:1bc055199cd2
Added a description for all plugins
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 19 Dec 2022 09:52:58 +0100 |
parents | 9b2a76fe987a |
children | f4e05641c108 |
comparison
equal
deleted
inserted
replaced
92:9b2a76fe987a | 94:1bc055199cd2 |
---|---|
172 const char* AzureBlobStoragePluginFactory::GetStoragePluginName() | 172 const char* AzureBlobStoragePluginFactory::GetStoragePluginName() |
173 { | 173 { |
174 return "Azure Blob Storage"; | 174 return "Azure Blob Storage"; |
175 } | 175 } |
176 | 176 |
177 const char* AzureBlobStoragePluginFactory::GetStorageDescription() | |
178 { | |
179 return "Stores the Orthanc storage area in Azure Blob"; | |
180 } | |
181 | |
182 | |
177 bool IsSasTokenAccountLevel(utility::string_t sasToken) | 183 bool IsSasTokenAccountLevel(utility::string_t sasToken) |
178 { | 184 { |
179 // Use cpprestsdk's utility::string_t here since the expected argument is the return value of | 185 // Use cpprestsdk's utility::string_t here since the expected argument is the return value of |
180 // as::storage_credentials::sas_token(), which is type utility::string_t (which is a std::wstring on Windows and a std::string on Linux) | 186 // as::storage_credentials::sas_token(), which is type utility::string_t (which is a std::wstring on Windows and a std::string on Linux) |
181 size_t newIdx = 0; | 187 size_t newIdx = 0; |