Mercurial > hg > orthanc-object-storage
annotate Google/GoogleStoragePlugin.h @ 178:31874021de7b 2.1.2
closing branch 2.1.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Jun 2024 12:12:14 +0200 |
parents | 1bc055199cd2 |
children | 3c7e0374f28e |
rev | line source |
---|---|
1 | 1 /** |
2 * Cloud storage plugins for Orthanc | |
37
f55b2afdf53d
upgrade to year 2021
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
15
diff
changeset
|
3 * Copyright (C) 2020-2021 Osimis S.A., Belgium |
1 | 4 * |
5 * This program is free software: you can redistribute it and/or | |
6 * modify it under the terms of the GNU Affero General Public License | |
7 * as published by the Free Software Foundation, either version 3 of | |
8 * the License, or (at your option) any later version. | |
9 * | |
10 * This program is distributed in the hope that it will be useful, but | |
11 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 * Affero General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU Affero General Public License | |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 **/ | |
18 | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
37
diff
changeset
|
19 |
1 | 20 #pragma once |
21 | |
78 | 22 #include "../Common/BaseStorage.h" |
1 | 23 |
24 #include "google/cloud/storage/client.h" | |
25 | |
26 class GoogleStoragePluginFactory | |
27 { | |
28 public: | |
29 static const char* GetStoragePluginName(); | |
94
1bc055199cd2
Added a description for all plugins
Alain Mazy <am@osimis.io>
parents:
80
diff
changeset
|
30 static const char* GetStorageDescription(); |
79 | 31 static IStorage* CreateStorage(const std::string& nameForLogs, const OrthancPlugins::OrthancConfiguration& orthancConfig); |
80 | 32 static const char* GetConfigurationSectionName() {return "GoogleCloudStorage";} |
1 | 33 }; |