blob: c260f37c51cfd75dd5617569a9008f604ee0aef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (C) 2020 Denis Shienkov <denis.shienkov@gmail.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "xmlnodevisitor.h"
#include "xmlproject.h"
namespace BareMetal {
namespace Gen {
namespace Xml {
// Project
void Project::accept(INodeVisitor *visitor) const
{
visitor->visitProjectStart(this);
for (const auto &child : children())
child->accept(visitor);
visitor->visitProjectEnd(this);
}
// ProjectOptions
void ProjectOptions::accept(INodeVisitor *visitor) const
{
visitor->visitProjectOptionsStart(this);
for (const auto &child : children())
child->accept(visitor);
visitor->visitProjectOptionsEnd(this);
}
} // namespace Xml
} // namespace Gen
} // namespace BareMetal
|