| 1 | // Aseprite Document Library |
| 2 | // Copyright (c) 2001-2015 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_CEL_DATA_IO_H_INCLUDED |
| 8 | #define DOC_CEL_DATA_IO_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include <iosfwd> |
| 12 | |
| 13 | namespace doc { |
| 14 | |
| 15 | class CelData; |
| 16 | class SubObjectsIO; |
| 17 | |
| 18 | void write_celdata(std::ostream& os, const CelData* cel); |
| 19 | CelData* read_celdata(std::istream& is, SubObjectsIO* subObjects, bool setId = true); |
| 20 | |
| 21 | } // namespace doc |
| 22 | |
| 23 | #endif |
| 24 | |