| 1 | // Aseprite |
| 2 | // Copyright (C) 2019 Igara Studio S.A. |
| 3 | // Copyright (C) 2017 David Capello |
| 4 | // |
| 5 | // This program is distributed under the terms of |
| 6 | // the End-User License Agreement for Aseprite. |
| 7 | |
| 8 | #ifndef APP_FILE_FILE_DATA_H_INCLUDED |
| 9 | #define APP_FILE_FILE_DATA_H_INCLUDED |
| 10 | #pragma once |
| 11 | |
| 12 | #include "app/color.h" |
| 13 | #include <string> |
| 14 | |
| 15 | namespace doc { |
| 16 | class Document; |
| 17 | } |
| 18 | |
| 19 | namespace app { |
| 20 | |
| 21 | void load_aseprite_data_file(const std::string& dataFilename, |
| 22 | doc::Document* doc, |
| 23 | app::Color& defaultSliceColor); |
| 24 | #ifdef ENABLE_SAVE |
| 25 | void save_aseprite_data_file(const std::string& dataFilename, const doc::Document* doc); |
| 26 | #endif |
| 27 | |
| 28 | } // namespace app |
| 29 | |
| 30 | #endif |
| 31 | |