File indexing completed on 2024-05-19 04:49:29
0001 /**************************************************************************************** 0002 * Copyright (c) 2012 Matěj Laitl <matej@laitl.cz> * 0003 * * 0004 * This program is free software; you can redistribute it and/or modify it under * 0005 * the terms of the GNU General Public License as published by the Free Software * 0006 * Foundation; either version 2 of the License, or (at your option) any later * 0007 * version. * 0008 * * 0009 * This program is distributed in the hope that it will be useful, but WITHOUT ANY * 0010 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 0011 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 0012 * * 0013 * You should have received a copy of the GNU General Public License along with * 0014 * this program. If not, see <http://www.gnu.org/licenses/>. * 0015 ****************************************************************************************/ 0016 0017 #include "Statistics.h" 0018 0019 #include <QDateTime> 0020 0021 using namespace Meta; 0022 0023 Statistics::~Statistics() 0024 { 0025 } 0026 0027 double 0028 Statistics::score() const 0029 { 0030 return 0.0; 0031 } 0032 0033 void 0034 Statistics::setScore( double newScore ) 0035 { 0036 Q_UNUSED( newScore ) 0037 } 0038 0039 int 0040 Statistics::rating() const 0041 { 0042 return 0; 0043 } 0044 0045 void 0046 Statistics::setRating( int newRating ) 0047 { 0048 Q_UNUSED( newRating ) 0049 } 0050 0051 QDateTime 0052 Statistics::lastPlayed() const 0053 { 0054 return QDateTime(); 0055 } 0056 0057 void 0058 Statistics::setLastPlayed( const QDateTime &date ) 0059 { 0060 Q_UNUSED( date ) 0061 } 0062 0063 QDateTime 0064 Statistics::firstPlayed() const 0065 { 0066 return QDateTime(); 0067 } 0068 0069 void 0070 Statistics::setFirstPlayed( const QDateTime &date ) 0071 { 0072 Q_UNUSED( date ) 0073 } 0074 0075 int 0076 Statistics::playCount() const 0077 { 0078 return 0; 0079 } 0080 0081 int 0082 Statistics::recentPlayCount() const 0083 { 0084 return 0; 0085 } 0086 0087 void 0088 Statistics::setPlayCount( int newPlayCount ) 0089 { 0090 Q_UNUSED( newPlayCount ) 0091 } 0092 0093 void 0094 Statistics::beginUpdate() 0095 { 0096 } 0097 0098 void 0099 Statistics::endUpdate() 0100 { 0101 }