2007-01-13 02:40:33 +00:00
|
|
|
/***************************************************************************
|
|
|
|
|
* Copyright (C) 2006 by FThauer FHammer *
|
|
|
|
|
* f.thauer@web.de *
|
|
|
|
|
* *
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
|
* (at your option) any later version. *
|
|
|
|
|
* *
|
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
|
* *
|
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
|
* along with this program; if not, write to the *
|
|
|
|
|
* Free Software Foundation, Inc., *
|
|
|
|
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
#ifndef HANDINTERFACE_H
|
|
|
|
|
#define HANDINTERFACE_H
|
|
|
|
|
|
2007-01-13 22:29:17 +00:00
|
|
|
#include "guiinterface.h"
|
2007-01-14 12:40:30 +00:00
|
|
|
#include "boardinterface.h"
|
|
|
|
|
#include "playerinterface.h"
|
2007-01-14 12:15:45 +00:00
|
|
|
#include "preflopinterface.h"
|
|
|
|
|
#include "flopinterface.h"
|
|
|
|
|
#include "turninterface.h"
|
|
|
|
|
#include "riverinterface.h"
|
2007-01-13 22:29:17 +00:00
|
|
|
|
2007-01-13 02:40:33 +00:00
|
|
|
class HandInterface{
|
|
|
|
|
public:
|
2007-01-13 22:29:17 +00:00
|
|
|
|
|
|
|
|
virtual ~HandInterface();
|
2007-01-13 02:40:33 +00:00
|
|
|
|
2007-01-13 22:29:17 +00:00
|
|
|
virtual PlayerInterface** getPlayerArray() const =0;
|
|
|
|
|
virtual BoardInterface* getBoard() const =0;
|
2007-01-14 12:15:45 +00:00
|
|
|
virtual PreflopInterface* getPreflop() const =0;
|
|
|
|
|
virtual FlopInterface* getFlop() const =0;
|
|
|
|
|
virtual TurnInterface* getTurn() const =0;
|
|
|
|
|
virtual RiverInterface* getRiver() const =0;
|
2007-01-13 22:29:17 +00:00
|
|
|
virtual GuiInterface* getGuiInterface() const =0;
|
|
|
|
|
|
|
|
|
|
virtual void setMyID(const int& theValue) =0;
|
|
|
|
|
virtual int getMyID() const =0;
|
|
|
|
|
|
|
|
|
|
virtual void setActualQuantityPlayers(const int& theValue) =0;
|
|
|
|
|
virtual int getActualQuantityPlayers() const =0;
|
|
|
|
|
|
2007-03-05 19:21:41 +00:00
|
|
|
virtual void setStartQuantityPlayers(const int& theValue) =0;
|
|
|
|
|
virtual int getStartQuantityPlayers() const =0;
|
|
|
|
|
|
2007-01-13 22:29:17 +00:00
|
|
|
virtual void setActualRound(const int& theValue) =0;
|
|
|
|
|
virtual int getActualRound() const =0;
|
|
|
|
|
|
|
|
|
|
virtual void setDealerPosition(const int& theValue) =0;
|
|
|
|
|
virtual int getDealerPosition() const =0;
|
|
|
|
|
|
|
|
|
|
virtual void setSmallBlind(const int& theValue) =0;
|
|
|
|
|
virtual int getSmallBlind() const =0;
|
|
|
|
|
|
|
|
|
|
virtual void setAllInCondition(bool theValue) =0;
|
|
|
|
|
virtual bool getAllInCondition() const =0;
|
|
|
|
|
|
|
|
|
|
virtual void setStartCash(const int& theValue) =0;
|
|
|
|
|
virtual int getStartCash() const =0;
|
|
|
|
|
|
2007-01-28 14:48:18 +00:00
|
|
|
virtual void setActivePlayersCounter(const int& theValue) =0;
|
|
|
|
|
virtual int getActivePlayersCounter() const =0;
|
|
|
|
|
|
2007-01-14 13:23:04 +00:00
|
|
|
virtual void assignButtons() =0;
|
2007-01-13 22:29:17 +00:00
|
|
|
|
2007-01-14 13:23:04 +00:00
|
|
|
virtual void highlightRoundLabel() =0;
|
|
|
|
|
virtual void switchRounds() =0;
|
2007-01-13 02:40:33 +00:00
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|