Mercurial > hg > orthanc-object-storage
annotate Google/GoogleStoragePlugin.h @ 80:b3787f4aa16a
fix
author | Alain Mazy <am@osimis.io> |
---|---|
date | Sat, 15 Oct 2022 07:49:30 +0200 |
parents | 16514270d9ca |
children | 1bc055199cd2 |
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(); | |
79 | 30 static IStorage* CreateStorage(const std::string& nameForLogs, const OrthancPlugins::OrthancConfiguration& orthancConfig); |
80 | 31 static const char* GetConfigurationSectionName() {return "GoogleCloudStorage";} |
1 | 32 }; |