# HG changeset patch # User Alain Mazy # Date 1665812970 -7200 # Node ID b3787f4aa16a1a5d2f4cd516bec66790a7783103 # Parent 16514270d9ca08665c3ca8f37014b43ccfafe6de fix diff -r 16514270d9ca -r b3787f4aa16a Azure/AzureBlobStoragePlugin.cpp --- a/Azure/AzureBlobStoragePlugin.cpp Fri Oct 14 16:22:26 2022 +0200 +++ b/Azure/AzureBlobStoragePlugin.cpp Sat Oct 15 07:49:30 2022 +0200 @@ -29,7 +29,6 @@ // Create aliases to make the code easier to read. namespace as = azure::storage; -static const char* const PLUGIN_SECTION = "AzureBlobStorage"; class AzureBlobStoragePlugin : public BaseStorage { @@ -51,7 +50,6 @@ virtual IWriter* GetWriterForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); virtual IReader* GetReaderForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); virtual void DeleteObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); - virtual const char* GetConfigurationSectionName() {return PLUGIN_SECTION;}; }; diff -r 16514270d9ca -r b3787f4aa16a Azure/AzureBlobStoragePlugin.h --- a/Azure/AzureBlobStoragePlugin.h Fri Oct 14 16:22:26 2022 +0200 +++ b/Azure/AzureBlobStoragePlugin.h Sat Oct 15 07:49:30 2022 +0200 @@ -26,4 +26,5 @@ public: static const char* GetStoragePluginName(); static IStorage* CreateStorage(const std::string& nameForLogs, const OrthancPlugins::OrthancConfiguration& orthancConfig); + static const char* GetConfigurationSectionName() {return "AzureBlobStorage";} }; diff -r 16514270d9ca -r b3787f4aa16a Google/GoogleStoragePlugin.cpp --- a/Google/GoogleStoragePlugin.cpp Fri Oct 14 16:22:26 2022 +0200 +++ b/Google/GoogleStoragePlugin.cpp Sat Oct 15 07:49:30 2022 +0200 @@ -23,7 +23,6 @@ // Create aliases to make the code easier to read. namespace gcs = google::cloud::storage; -static const char* const PLUGIN_SECTION = "GoogleCloudStorage"; class GoogleStoragePlugin : public BaseStorage @@ -46,7 +45,6 @@ virtual IWriter* GetWriterForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); virtual IReader* GetReaderForObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); virtual bool DeleteObject(const char* uuid, OrthancPluginContentType type, bool encryptionEnabled); - virtual const char* GetConfigurationSectionName() {return PLUGIN_SECTION;} }; diff -r 16514270d9ca -r b3787f4aa16a Google/GoogleStoragePlugin.h --- a/Google/GoogleStoragePlugin.h Fri Oct 14 16:22:26 2022 +0200 +++ b/Google/GoogleStoragePlugin.h Sat Oct 15 07:49:30 2022 +0200 @@ -28,4 +28,5 @@ public: static const char* GetStoragePluginName(); static IStorage* CreateStorage(const std::string& nameForLogs, const OrthancPlugins::OrthancConfiguration& orthancConfig); + static const char* GetConfigurationSectionName() {return "GoogleCloudStorage";} };