1 /**********************************************************************
2  *
3  *   FreeDoko a Doppelkopf-Game
4  *
5  *   Copyright (C) 2001 – 2018 by Diether Knof and Borg Enders
6  *
7  *   This program is free software; you can redistribute it and/or
8  *   modify it under the terms of the GNU General Public License as
9  *   published by the Free Software Foundation; either version 2 of
10  *   the License, or (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 General Public License for more details.
16  *   You can find this license in the file 'gpl.txt'.
17  *
18  *   You should have received a copy of the GNU General Public License
19  *   along with this program; if not, write to the Free Software
20  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21  *   MA  02111-1307  USA
22  *
23  *  Contact:
24  *    Diether Knof dknof@posteo.de
25  *
26  **********************************************************************/
27 
28 #ifdef USE_UI_GTKMM
29 
30 #pragma once
31 
32 #include "gameinfo.h"
33 
34 namespace UI_GTKMM_NS {
35 
36 /**
37  ** genscher information
38  **/
39 class GameInfoDialog::Information::Genscher : public GameInfoDialog::Information {
40   public:
41     Genscher(Base* parent,
42              Player const& genscher, Player const& partner);
43     ~Genscher() override;
44 
45   private:
46     // update the text
47     void update_texts() override;
48 
49   private:
50     // the genscher player
51     Player const* const genscher = nullptr;
52     // the new partner
53     Player const* const partner = nullptr;
54 
55   private: // unused
56     Genscher() = delete;
57     Genscher(Genscher const&) = delete;
58     Genscher& operator=(Genscher const&) = delete;
59 }; // class GameInfoDialog::Information::Genscher : public GameInfoDialog::Information
60 
61 } // namespace UI_GTKMM_NS
62 
63 #endif // #ifdef USE_UI_GTKMM
64