2014-03-13 06:25:09 +08:00
|
|
|
// Aseprite Document Library
|
|
|
|
// Copyright (c) 2014 David Capello
|
|
|
|
//
|
2014-03-30 07:08:05 +08:00
|
|
|
// This file is released under the terms of the MIT license.
|
|
|
|
// Read LICENSE.txt for more information.
|
2014-03-13 06:25:09 +08:00
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "doc/document.h"
|
|
|
|
|
2014-03-30 03:58:35 +08:00
|
|
|
#include "doc/export_data.h"
|
|
|
|
|
2014-03-13 06:25:09 +08:00
|
|
|
namespace doc {
|
|
|
|
|
|
|
|
Document::Document()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Document::setFilename(const std::string& filename)
|
|
|
|
{
|
|
|
|
m_filename = filename;
|
|
|
|
}
|
|
|
|
|
2014-03-30 03:58:35 +08:00
|
|
|
void Document::setExportData(const ExportDataPtr& data)
|
|
|
|
{
|
|
|
|
m_exportData = data;
|
|
|
|
}
|
|
|
|
|
2014-03-13 06:25:09 +08:00
|
|
|
} // namespace doc
|