diff options
Diffstat (limited to 'src/core/function/basic/SingletonStorageCollection.h')
-rw-r--r-- | src/core/function/basic/SingletonStorageCollection.h | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/core/function/basic/SingletonStorageCollection.h b/src/core/function/basic/SingletonStorageCollection.h index b96bff3d..70b91cb9 100644 --- a/src/core/function/basic/SingletonStorageCollection.h +++ b/src/core/function/basic/SingletonStorageCollection.h @@ -28,8 +28,6 @@ #pragma once -#include <core/function/SecureMemoryAllocator.h> - #include "core/function/SecureMemoryAllocator.h" namespace GpgFrontend { @@ -41,6 +39,18 @@ using SingletonStoragePtr = class GPGFRONTEND_CORE_EXPORT SingletonStorageCollection { public: /** + * @brief + * + */ + SingletonStorageCollection() noexcept; + + /** + * @brief + * + */ + ~SingletonStorageCollection(); + + /** * @brief Get the Instance object * * @return SingletonStorageCollection* @@ -48,6 +58,12 @@ class GPGFRONTEND_CORE_EXPORT SingletonStorageCollection { static auto GetInstance(bool force_refresh) -> SingletonStorageCollection*; /** + * @brief + * + */ + static void Destroy(); + + /** * @brief Get the Singleton Storage object * * @param singleton_function_object @@ -58,18 +74,6 @@ class GPGFRONTEND_CORE_EXPORT SingletonStorageCollection { private: class Impl; std::unique_ptr<Impl> p_; - - /** - * @brief - * - */ - SingletonStorageCollection() noexcept; - - /** - * @brief - * - */ - ~SingletonStorageCollection(); }; } // namespace GpgFrontend
\ No newline at end of file |