]> git.mxchange.org Git - simgear.git/blob - simgear/scene/material/EffectElementBuilder.hxx
Use of copy-constructors
[simgear.git] / simgear / scene / material / EffectElementBuilder.hxx
1 // Copyright (C) 2008  Timothy Moore timoore@redhat.com
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License as
5 // published by the Free Software Foundation; either version 2 of the
6 // License, or (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful, but
9 // WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
16
17 #ifndef SIMGEAR_EFFECT_BUILDER_HXX
18 #define SIMGEAR_EFFECT_BUILDER_HXX 1
19
20 #include <simgear/xml/easyxml.hxx>
21 #include "EffectElement.hxx"
22
23 namespace simgear
24 {
25 class ElementBuilder;
26
27 class EffectElementBuilder
28 {
29 public:
30     EffectElementBuilder(ElementBuilder* builder);
31     EffectElementBuilder(const EffectElementBuilder& rhs);
32     virtual ~EffectElementBuilder();
33     virtual void initialize(const XMLAttributes& attributes);
34     virtual void processSubElement(EffectElement* subElement);
35     virtual void processData(const char* data, int length);
36     virtual EffectElement* finalize();
37
38 };
39 }
40
41 #endif