1/* 2 Project: MPDCon 3 4 Copyright (C) 2004 5 6 Author: Daniel Luederwald 7 8 Created: 2004-05-17 23:17:38 +0200 by flip 9 10 This application is free software; you can redistribute it and/or 11 modify it under the terms of the GNU General Public 12 License as published by the Free Software Foundation; either 13 version 2 of the License, or (at your option) any later version. 14 15 This application is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 Library General Public License for more details. 19 20 You should have received a copy of the GNU General Public 21 License along with this library; if not, write to the Free 22 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. 23*/ 24 25#include "StatisticsItem.h" 26 27@implementation StatisticsItem 28 29/* -------------------- 30 - Accessor Methods - 31 --------------------*/ 32 33- (int) getNumberOfSongs 34{ 35 return numberOfSongs; 36} 37 38- (void) setNumberOfSongs: (int)newSongs 39{ 40 numberOfSongs = newSongs; 41} 42 43- (int) getNumberOfArtists 44{ 45 return numberOfArtists; 46} 47 48- (void) setNumberOfArtists: (int)newArtists; 49{ 50 numberOfArtists = newArtists; 51} 52 53- (int) getNumberOfAlbums 54{ 55 return numberOfAlbums; 56} 57 58- (void) setNumberOfAlbums: (int)newAlbums 59{ 60 numberOfAlbums = newAlbums; 61} 62 63- (int) getUptime 64{ 65 return uptime; 66} 67 68- (void) setUptime: (int)newUptime 69{ 70 uptime = newUptime; 71} 72 73- (int) getPlaytime 74{ 75 return playtime; 76} 77 78- (void) setPlaytime: (int)newPlaytime 79{ 80 playtime = newPlaytime; 81} 82 83- (int) getDbUpdatetime 84{ 85 return dbUpdatetime; 86} 87 88- (void) setDbUpdatetime: (int)newDbUpdatetime 89{ 90 dbUpdatetime = newDbUpdatetime; 91} 92 93- (int) getDbPlaytime 94{ 95 return dbPlaytime; 96} 97 98- (void) setDbPlaytime: (int)newDbPlaytime 99{ 100 dbPlaytime = newDbPlaytime; 101} 102 103@end 104