/*! * \brief Class that holds a table of the UpdatableFile instances currently in use. * * \copyright Copyright (c) 2017-2018 Governikus GmbH & Co. KG, Germany */ #pragma once #include "UpdatableFile.h" #include #include #include namespace governikus { class FileProvider { Q_GADGET private: QHash > mUpdatableFiles; QMutex mGetFileMutex; protected: FileProvider(); ~FileProvider() = default; public: const QSharedPointer getFile(const QString& pSection, const QString& pName, const QString& pDefaultPath = QString()); static FileProvider& getInstance(); }; } // namespace governikus