// Copyright (C) 2020 Jérôme Leclercq // 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_ICONIMPL_HPP #define NAZARA_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_ICONIMPL_HPP