| 1 | // Aseprite Document Library |
| 2 | // Copyright (c) 2001-2014 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef DOC_FILE_GPL_FILE_H_INCLUDED |
| 8 | #define DOC_FILE_GPL_FILE_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include <memory> |
| 12 | |
| 13 | namespace doc { |
| 14 | |
| 15 | class Palette; |
| 16 | |
| 17 | namespace file { |
| 18 | |
| 19 | std::unique_ptr<Palette> load_gpl_file(const char* filename); |
| 20 | bool save_gpl_file(const Palette* pal, const char* filename); |
| 21 | |
| 22 | } // namespace file |
| 23 | } // namespace doc |
| 24 | |
| 25 | #endif |
| 26 | |