PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 1ms

/NSRTMList.h

http://rtm2cocoa.googlecode.com/
C++ Header | 58 lines | 32 code | 6 blank | 20 comment | 0 complexity | 27dc54c30351d0a3783b2c35358c07be MD5 | raw file
 1/*
 2 *  NSRTMList.h
 3 *  RTMApiTest
 4 *
 5 *  Created by kkillian on 17/11/09.
 6 *  Copyright 2009 shufflecodebox. All rights reserved.
 7 *	This program is free software; you can redistribute it and/or modify
 8 *	it under the terms of the GNU General Public License as published by
 9 *	the Free Software Foundation; either version 2 of the License, or
10 *	(at your option) any later version.
11 *
12 *	This program is distributed in the hope that it will be useful,
13 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *	GNU General Public License for more details.
16 *
17 *	You should have received a copy of the GNU General Public License
18 *	along with this program; if not, write to the Free Software
19 *	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20 */
21
22#import <Cocoa/Cocoa.h>
23#import "NSRTMTaskseries.h"
24#import "NSRTMObject.h"
25
26@interface NSRTMList : NSRTMObject {
27	NSString *listid;
28	NSString *name;
29	NSString *deleted;
30	NSString *locked;
31	NSString *archived;
32	NSString *position;
33	NSString *smart;
34	BOOL isSmart;
35	NSString *sort_order;
36	NSString *filter;
37	NSMutableArray *taskseries;
38}
39
40-(NSString *)getListId;
41-(NSString *)getName;
42-(NSString *)getDeleted;
43-(NSString *)getLocked;
44-(NSString *)getArchived;
45-(NSString *)getPosition;
46-(NSString *)getSmart;
47-(NSString *)getSortOrder;
48-(NSString *)getFilter;
49
50-(NSMutableArray *)getTaskseries;
51-(NSMutableArray *)getTaskseries:(BOOL)completed;
52-(void)setTaskseries:(NSMutableArray *)array;
53
54-(void)addTaskSeries:(NSRTMTaskseries *)series;
55-(void)updateTaskSeries:(NSRTMTaskseries *)series;
56-(BOOL)isSmart;
57
58@end