// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_PLATFORM_SDL2_ICONIMPL_HPP #define NAZARA_PLATFORM_SDL2_ICONIMPL_HPP #include #include #include #include namespace Nz { class IconImpl { public: IconImpl(const Image& image); IconImpl(const IconImpl&) = delete; IconImpl(IconImpl&&) noexcept = default; ~IconImpl(); SDL_Surface* GetIcon(); IconImpl& operator=(const IconImpl&) = default; IconImpl& operator=(IconImpl&&) noexcept = default; private: Image m_iconImage; MovablePtr m_icon; }; } #endif // NAZARA_PLATFORM_SDL2_ICONIMPL_HPP