1 /* 2 3 TableViewDataSource.h 4 Zipper 5 6 Copyright (C) 2012 Free Software Foundation, Inc 7 8 Authors: Dirk Olmes <dirk@xanthippe.ping.de> 9 Riccardo Mottola <rm@gnu.org> 10 11 This application is free software; you can redistribute it and/or modify it 12 under the terms of the GNU General Public License as published by the Free 13 Software Foundation; either version 2 of the License, or (at your option) 14 any later version. 15 16 This program is distributed in the hope that it will be useful, but 17 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 or FITNESS FOR A PARTICULAR PURPOSE. 19 See the GNU General Public License for more details 20 21 */ 22 23 #import <Foundation/NSObject.h> 24 25 @class Archive; 26 27 #define COL_ID_NAME @"name" 28 #define COL_ID_DATE @"date" 29 #define COL_ID_SIZE @"size" 30 #define COL_ID_PATH @"path" 31 #define COL_ID_RATIO @"ratio" 32 33 @interface TableViewDataSource : NSObject 34 { 35 @private 36 Archive *_archive; 37 } 38 39 - (void)setArchive:(Archive *)archive; 40 41 @end 42