This commit is contained in:
doitux
2007-01-13 19:10:35 +00:00
parent 653fde5981
commit c648b2a024
5 changed files with 149 additions and 13 deletions
+31
View File
@@ -0,0 +1,31 @@
/***************************************************************************
* 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. *
***************************************************************************/
#include "enginefactory.h"
EngineFactory::EngineFactory()
{
}
EngineFactory::~EngineFactory()
{
}
+34
View File
@@ -0,0 +1,34 @@
/***************************************************************************
* 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 ENGINEFACTORY_H
#define ENGINEFACTORY_H
/**
@author FThauer FHammer <f.thauer@web.de>
*/
class EngineFactory{
public:
EngineFactory();
~EngineFactory();
};
#endif
+32
View File
@@ -0,0 +1,32 @@
/***************************************************************************
* 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. *
***************************************************************************/
#include "localenginefactory.h"
LocalEngineFactory::LocalEngineFactory()
: EngineFactory()
{
}
LocalEngineFactory::~LocalEngineFactory()
{
}
+37
View File
@@ -0,0 +1,37 @@
/***************************************************************************
* 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 LOCALENGINEFACTORY_H
#define LOCALENGINEFACTORY_H
#include <enginefactory.h>
/**
@author FThauer FHammer <f.thauer@web.de>
*/
class LocalEngineFactory : public EngineFactory
{
public:
LocalEngineFactory();
~LocalEngineFactory();
};
#endif
+15 -13
View File
@@ -15,9 +15,9 @@ HEADERS += mainwindowimpl.h \
log.h \
guiinterface.h \
guiwrapper.h \
session.h \
session.h \
game.h \
localhand.h \
localhand.h \
localboard.h \
localplayer.h \
cardsvalue.h \
@@ -26,24 +26,25 @@ HEADERS += mainwindowimpl.h \
localturn.h \
localriver.h \
tools.h \
handinterface.h \
handinterface.h \
playerinterface.h \
boardinterface.h \
preflopinterface.h \
flopinterface.h \
turninterface.h \
riverinterface.h
riverinterface.h \
enginefactory.h \
localenginefactory.h
SOURCES += pokerth.cpp \
mainwindowimpl.cpp \
mainwindowimpl.cpp \
newgamedialogimpl.cpp \
aboutpokerthimpl.cpp \
log.cpp \
guiinterface.cpp \
guiwrapper.cpp \
session.cpp \
session.cpp \
game.cpp \
localhand.cpp \
localhand.cpp \
localboard.cpp \
localplayer.cpp \
cardsvalue.cpp \
@@ -52,18 +53,19 @@ SOURCES += pokerth.cpp \
localturn.cpp \
localriver.cpp \
tools.cpp \
handinterface.cpp \
handinterface.cpp \
playerinterface.cpp \
boardinterface.cpp \
preflopinterface.cpp \
flopinterface.cpp \
turninterface.cpp \
riverinterface.cpp
riverinterface.cpp \
enginefactory.cpp \
localenginefactory.cpp
RESOURCES = deck.qrc
TEMPLATE = app
DEPENDPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine
INCLUDEPATH += . src uics src/gui src/gui/qt src/engine src/engine/local_engine src/engine/network_engine
DEPENDPATH += src uics src/gui src/engine_interfaces src/local_engine src/network_engine
INCLUDEPATH += . src uics src/gui src/engine_interfaces src/local_engine src/network_engine
CONFIG += qt release
UI_DIR = uics
TARGET = bin/pokerth