1// Aseprite Document Library
2// Copyright (C) 2019-2020 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_TAG_IO_H_INCLUDED
9#define DOC_TAG_IO_H_INCLUDED
10#pragma once
11
12#include <iosfwd>
13
14namespace doc {
15
16 class Tag;
17
18 void write_tag(std::ostream& os, const Tag* tag);
19 Tag* read_tag(std::istream& is,
20 const bool setId = true,
21 const bool oldVersion = false);
22
23} // namespace doc
24
25#endif
26