~ubuntu-branches/ubuntu/vivid/manaplus/vivid-proposed

« back to all changes in this revision

Viewing changes to src/gui/widgets/tabs/battletab.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2014-10-27 18:15:40 UTC
  • mfrom: (1.1.37)
  • Revision ID: package-import@ubuntu.com-20141027181540-jvyjufjo9igruklh
Tags: 1.4.10.25-1
[ Andrei Karas ]
* Updated debian/copyright.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  The ManaPlus Client
3
 
 *  Copyright (C) 2009  The Mana World Development Team
4
 
 *  Copyright (C) 2009-2010  The Mana Developers
5
 
 *  Copyright (C) 2011-2014  The ManaPlus Developers
6
 
 *
7
 
 *  This file is part of The ManaPlus Client.
8
 
 *
9
 
 *  This program is free software; you can redistribute it and/or modify
10
 
 *  it under the terms of the GNU General Public License as published by
11
 
 *  the Free Software Foundation; either version 2 of the License, or
12
 
 *  any later version.
13
 
 *
14
 
 *  This program is distributed in the hope that it will be useful,
15
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 
 *  GNU General Public License for more details.
18
 
 *
19
 
 *  You should have received a copy of the GNU General Public License
20
 
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
 
 */
22
 
 
23
 
#ifndef GUI_WIDGETS_TABS_BATTLETAB_H
24
 
#define GUI_WIDGETS_TABS_BATTLETAB_H
25
 
 
26
 
#include "gui/widgets/tabs/chattab.h"
27
 
#include "gui/widgets/tabs/chattabtype.h"
28
 
 
29
 
/**
30
 
 * A tab for a party chat channel.
31
 
 */
32
 
class BattleTab final : public ChatTab
33
 
{
34
 
    public:
35
 
        explicit BattleTab(const Widget2 *const widget);
36
 
 
37
 
        A_DELETE_COPY(BattleTab)
38
 
 
39
 
        ~BattleTab();
40
 
 
41
 
        int getType() const override final A_WARN_UNUSED
42
 
        { return ChatTabType::BATTLE; }
43
 
 
44
 
        void saveToLogFile(const std::string &msg) const override final;
45
 
};
46
 
 
47
 
extern BattleTab *battleChatTab;
48
 
 
49
 
#endif  // GUI_WIDGETS_TABS_BATTLETAB_H