view Azure/AzureBlobStoragePlugin.h @ 8:987cb95c1aee

Prevent Orthanc to start if plugin fails to start
author Alain Mazy
date Mon, 20 Jul 2020 12:21:07 +0200
parents fc26a8fc54d5
children 2a02b21f0a19
line wrap: on
line source

/**
 * Cloud storage plugins for Orthanc
 * Copyright (C) 2017-2020 Osimis S.A., Belgium
 *
 * This program is free software: you can redistribute it and/or
 * modify it under the terms of the GNU Affero General Public License
 * as published by the Free Software Foundation, either version 3 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 **/

#pragma once

#include "../Common/IStoragePlugin.h"

class AzureBlobStoragePluginFactory
{
public:
  static const char* GetStoragePluginName();
  static IStoragePlugin* CreateStoragePlugin(const OrthancPlugins::OrthancConfiguration& orthancConfig);
};