// 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 <Nazara/Prerequisites.hpp>
#include <Nazara/Utility/Image.hpp>
#include <SDL2/SDL_surface.h>

namespace Nz
{
	class Image;

	class IconImpl
	{
		public:
			bool Create(const Image& image);
			void Destroy();

			SDL_Surface* GetIcon();

		private:

			SDL_Surface* m_icon = nullptr;
			Image m_iconImage;
	};
}

#endif // NAZARA_ICONIMPL_HPP
