• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkdegames/kggzmod

statistics.h

Go to the documentation of this file.
00001 /*
00002     This file is part of the kggzmod library.
00003     Copyright (c) 2005 - 2007 Josef Spillner <josef@ggzgamingzone.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KGGZMOD_STATISTICS_H
00022 #define KGGZMOD_STATISTICS_H
00023 
00024 #include "kggzmod_export.h"
00025 
00026 namespace KGGZMod
00027 {
00028 
00029 class StatisticsPrivate;
00030 
00049 class KGGZMOD_EXPORT Statistics
00050 {
00051     friend class ModulePrivate;
00052 
00053     public:
00054         ~Statistics();
00055 
00063         int wins() const;
00064 
00072         int losses() const;
00073 
00083         int ties() const;
00084 
00094         int forfeits() const;
00095 
00106         int rating() const;
00107 
00118         int ranking() const;
00119 
00129         int highscore() const;
00130 
00136         bool hasRecord() const;
00137 
00143         bool hasRating() const;
00144 
00150         bool hasRanking() const;
00151 
00157         bool hasHighscore() const;
00158 
00159     private:
00160         Statistics();
00161         StatisticsPrivate *d;
00162         void init(StatisticsPrivate *x);
00163 };
00164 
00165 }
00166 
00167 #endif
00168 

libkdegames/kggzmod

Skip menu "libkdegames/kggzmod"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal