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