1 /* 2 * Copyright (C) 2006-2019 Christopho, Solarus - http://www.solarus-games.org 3 * 4 * Solarus is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * Solarus is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License along 15 * with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 #ifndef SOLARUS_SHADER_PTR_H 18 #define SOLARUS_SHADER_PTR_H 19 20 #include <memory> 21 22 namespace Solarus { 23 24 class Shader; 25 26 /** 27 * \brief Alias for shared_ptr of Shader. 28 */ 29 using ShaderPtr = std::shared_ptr<Shader>; 30 } 31 32 #endif 33