1 // Aseprite 2 // Copyright (C) 2001-2016 David Capello 3 // 4 // This program is distributed under the terms of 5 // the End-User License Agreement for Aseprite. 6 7 #ifndef APP_CRASH_WRITE_DOCUMENT_H_INCLUDED 8 #define APP_CRASH_WRITE_DOCUMENT_H_INCLUDED 9 #pragma once 10 11 #include <string> 12 13 namespace doc { 14 class CancelIO; 15 } 16 17 namespace app { 18 class Doc; 19 20 namespace crash { 21 22 bool write_document(const std::string& dir, Doc* doc, doc::CancelIO* cancel); 23 void delete_document_internals(Doc* doc); 24 25 } // namespace crash 26 } // namespace app 27 28 #endif 29