1 /** @file defs/finale.h  Finale definition accessor.
2  *
3  * @authors Copyright © 2014 Daniel Swanson <danij@dengine.net>
4  *
5  * @par License
6  * GPL: http://www.gnu.org/licenses/gpl.html
7  *
8  * <small>This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by the
10  * Free Software Foundation; either version 2 of the License, or (at your
11  * option) any later version. This program is distributed in the hope that it
12  * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14  * Public License for more details. You should have received a copy of the GNU
15  * General Public License along with this program; if not, see:
16  * http://www.gnu.org/licenses</small>
17  */
18 
19 #ifndef LIBDOOMSDAY_DEFN_FINALE_H
20 #define LIBDOOMSDAY_DEFN_FINALE_H
21 
22 #include "definition.h"
23 #include <de/RecordAccessor>
24 
25 namespace defn {
26 
27 /**
28  * Utility for handling finale definitions.
29  */
30 class LIBDOOMSDAY_PUBLIC Finale : public Definition
31 {
32 public:
Finale()33     Finale()                    : Definition() {}
Finale(Finale const & other)34     Finale(Finale const &other) : Definition(other) {}
Finale(de::Record & d)35     Finale(de::Record &d)       : Definition(d) {}
Finale(de::Record const & d)36     Finale(de::Record const &d) : Definition(d) {}
37 
38     void resetToDefaults();
39 };
40 
41 } // namespace defn
42 
43 #endif // LIBDOOMSDAY_DEFN_FINALE_H
44