~ubuntu-branches/ubuntu/saucy/lordsawar/saucy

« back to all changes in this revision

Viewing changes to src/armyprodbase.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-12-20 13:52:12 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081220135212-noeb2w3y98ebo7o9
Tags: 0.1.4-1
[ Barry deFreese ]
* New upstream release.
* Move 0.0.8-2.1 changelog entry to correct point in changelog.
* Make lordsawar-data suggest lordsawar.
* Update my e-mail address.
* Add build-depends on intltool, uuid-dev, and libboost-dev.
* Don't install locales since there are no translations currently.
* Add simple man page for new lordsawar-pbm binary.
* Drop gcc4.3 patches as they have been fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2000, 2001, 2003 Michael Bartl
 
2
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Ulf Lorenz
 
3
// Copyright (C) 2004, 2005 Andrea Paternesi
 
4
// Copyright (C) 2007, 2008 Ben Asselstine
 
5
// Copyright (C) 2007, 2008 Ole Laursen
 
6
//
 
7
//  This program is free software; you can redistribute it and/or modify
 
8
//  it under the terms of the GNU General Public License as published by
 
9
//  the Free Software Foundation; either version 2 of the License, or
 
10
//  (at your option) any later version.
 
11
//
 
12
//  This program is distributed in the hope that it will be useful,
 
13
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
//  GNU Library General Public License for more details.
 
16
//
 
17
//  You should have received a copy of the GNU General Public License
 
18
//  along with this program; if not, write to the Free Software
 
19
//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
 
20
//  02110-1301, USA.
 
21
 
 
22
#ifndef ARMY_PRODBASE_H
 
23
#define ARMY_PRODBASE_H
 
24
 
 
25
#include <string>
 
26
 
 
27
 
 
28
#include "armyprotobase.h"
 
29
class ArmyProto;
 
30
 
 
31
class XML_Helper;
 
32
 
 
33
class ArmyProdBase: public ArmyProtoBase
 
34
{
 
35
    public:
 
36
 
 
37
        //! The xml tag of this object in a saved-game file.
 
38
        static std::string d_tag; 
 
39
 
 
40
        //! Copy constructor.
 
41
        ArmyProdBase(const ArmyProdBase& prodbase);
 
42
 
 
43
        //! Copy constructor.
 
44
        ArmyProdBase(const ArmyProto& prodbase);
 
45
 
 
46
        //! Loading constructor.
 
47
        ArmyProdBase(XML_Helper* helper);
 
48
        
 
49
        //! Destructor.
 
50
        ~ArmyProdBase();
 
51
 
 
52
        //! Saves the Army prototype to an opened armyset file.
 
53
        virtual bool save(XML_Helper* helper) const;
 
54
        
 
55
    private:
 
56
 
 
57
};
 
58
 
 
59
#endif // ARMY_PRODBASE_H