/*
 * Xournal++
 *
 * XML Writer helper class
 *
 * @author Xournal++ Team
 * https://github.com/xournalpp/xournalpp
 *
 * @license GNU GPLv2 or later
 */

#pragma once

#include <vector>  // for vector

#include "model/Point.h"  // for Point

#include "XmlAudioNode.h"  // for XmlAudioNode

class OutputStream;

class XmlPointNode: public XmlAudioNode {
public:
    XmlPointNode(StringUtils::StaticStringView tag);

public:
    void setPoints(std::vector<Point> points);
    void writeOut(OutputStream* out) override;

private:
    std::vector<Point> points{};
};
