From 4e2a989031c561940d66e2ff014b0d50cf0ebdf4 Mon Sep 17 00:00:00 2001 From: floty Date: Wed, 15 Dec 2010 23:01:10 +0000 Subject: [PATCH] bugfix guilog, adding new log in local_engine --- pokerth_game.pro | 6 ++++-- src/engine/local_engine/log.cpp | 24 ++++++++++++++++++++++++ src/engine/local_engine/log.h | 29 +++++++++++++++++++++++++++++ src/gui/qt/guiwrapper.h | 2 +- 4 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 src/engine/local_engine/log.cpp create mode 100644 src/engine/local_engine/log.h diff --git a/pokerth_game.pro b/pokerth_game.pro index c5bd4e13..55574437 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -199,7 +199,8 @@ HEADERS += src/game.h \ src/gui/qt/internetgamelogindialog/internetgamelogindialogimpl.h \ src/engine/local_engine/replay.h \ src/gui/qt/gamelobbydialog/mynicklistsortfilterproxymodel.h \ - src/gui/qt/gametable/myslider.h + src/gui/qt/gametable/myslider.h \ + src/engine/local_engine/log.h FORMS += src/gui/qt/gametable.ui \ src/gui/qt/aboutpokerth.ui \ src/gui/qt/connecttoserverdialog.ui \ @@ -267,7 +268,8 @@ SOURCES += src/pokerth.cpp \ src/gui/qt/gamelobbydialog/mygamelistsortfilterproxymodel.cpp \ src/gui/qt/internetgamelogindialog/internetgamelogindialogimpl.cpp \ src/engine/local_engine/replay.cpp \ - src/gui/qt/gamelobbydialog/mynicklistsortfilterproxymodel.cpp + src/gui/qt/gamelobbydialog/mynicklistsortfilterproxymodel.cpp \ + src/engine/local_engine/log.cpp TRANSLATIONS = ts/pokerth_af.ts \ ts/pokerth_bg.ts \ ts/pokerth_zhcn.ts \ diff --git a/src/engine/local_engine/log.cpp b/src/engine/local_engine/log.cpp new file mode 100644 index 00000000..b0a568cf --- /dev/null +++ b/src/engine/local_engine/log.cpp @@ -0,0 +1,24 @@ +/*************************************************************************** + * 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 "log.h" + +Log::Log() +{ +} diff --git a/src/engine/local_engine/log.h b/src/engine/local_engine/log.h new file mode 100644 index 00000000..5b73a15d --- /dev/null +++ b/src/engine/local_engine/log.h @@ -0,0 +1,29 @@ +/*************************************************************************** + * 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 LOG_H +#define LOG_H + +class Log +{ +public: + Log(); +}; + +#endif // LOG_H diff --git a/src/gui/qt/guiwrapper.h b/src/gui/qt/guiwrapper.h index 7258ba98..ead7d2c5 100644 --- a/src/gui/qt/guiwrapper.h +++ b/src/gui/qt/guiwrapper.h @@ -27,7 +27,7 @@ class Session; class gameTableImpl; class startWindowImpl; -class Log; +class guiLog; class ConfigFile;