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 #include "constants.h" 29 30 #ifdef USE_UI_TEXT 31 32 #include "ui.h" 33 34 namespace UI_TEXT_NS { 35 36 /** 37 ** 38 ** let the user select a card for the given player 39 ** 40 ** @param player the player who is to play a card 41 ** 42 ** @return the selected card 43 ** 44 ** 45 ** 46 ** @todo all 47 ** 48 **/ 49 HandCard card_get(Player const & player)50 UI_Text::card_get(Player const& player) 51 { 52 return HandCard::empty; 53 } // HandCard UI_Text::card_get(Player const& player) 54 55 /** 56 ** 57 ** the given player has played 'card. 58 ** remove the card from the hand 59 ** 60 ** @param card the played card 61 ** @param player the player who has played the card 62 ** 63 ** 64 ** 65 ** 66 ** @todo all 67 ** 68 **/ 69 void card_played(Card const & card,Player const & player)70 UI_Text::card_played(Card const& card, Player const& player) 71 { 72 return ; 73 } // void UI_Text::card_player(Card const& card, Player const& player) 74 75 /** 76 ** 77 ** the given player has made the announcement 'announcement' 78 ** 79 ** @param announcement the annoucnement 80 ** @param player the player who has made the announcement 81 ** 82 ** 83 ** 84 ** 85 ** @todo all 86 ** 87 **/ 88 void announcement_made(Announcement const & announcement,Player const & player)89 UI_Text::announcement_made(Announcement const& announcement, 90 Player const& player) 91 { 92 return ; 93 } // void UI_Text::announcement_made(Announcement const& announcement, Player const& player) 94 95 } // namespace UI_TEXT_NS 96 97 #endif // #ifdef USE_UI_TEXT 98