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 #ifndef _PCAPPPROJ_STATISTICSITEM_H_ 26 #define _PCAPPPROJ_STATISTICSITEM_H_ 27 28 #include <Foundation/Foundation.h> 29 30 @interface StatisticsItem : NSObject 31 { 32 int numberOfSongs; 33 int numberOfArtists; 34 int numberOfAlbums; 35 36 int uptime; 37 int playtime; 38 39 int dbUpdatetime; 40 int dbPlaytime; 41 } 42 43 // Accessor Methods 44 - (int) getNumberOfSongs; 45 - (void) setNumberOfSongs: (int)newSongs; 46 - (int) getNumberOfArtists; 47 - (void) setNumberOfArtists: (int)newArtists; 48 - (int) getNumberOfAlbums; 49 - (void) setNumberOfAlbums: (int)newAlbums; 50 - (int) getUptime; 51 - (void) setUptime: (int)newUptime; 52 - (int) getPlaytime; 53 - (void) setPlaytime: (int)newPlaytime; 54 - (int) getDbUpdatetime; 55 - (void) setDbUpdatetime: (int)newDbUpdatetime; 56 - (int) getDbPlaytime; 57 - (void) setDbPlaytime: (int)newDbPlaytime; 58 @end 59 60 #endif 61 62