/NSRTMList.h
http://rtm2cocoa.googlecode.com/ · C Header · 58 lines · 32 code · 6 blank · 20 comment · 0 complexity · 27dc54c30351d0a3783b2c35358c07be MD5 · raw file
- /*
- * NSRTMList.h
- * RTMApiTest
- *
- * Created by kkillian on 17/11/09.
- * Copyright 2009 shufflecodebox. All rights reserved.
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
- #import <Cocoa/Cocoa.h>
- #import "NSRTMTaskseries.h"
- #import "NSRTMObject.h"
- @interface NSRTMList : NSRTMObject {
- NSString *listid;
- NSString *name;
- NSString *deleted;
- NSString *locked;
- NSString *archived;
- NSString *position;
- NSString *smart;
- BOOL isSmart;
- NSString *sort_order;
- NSString *filter;
- NSMutableArray *taskseries;
- }
- -(NSString *)getListId;
- -(NSString *)getName;
- -(NSString *)getDeleted;
- -(NSString *)getLocked;
- -(NSString *)getArchived;
- -(NSString *)getPosition;
- -(NSString *)getSmart;
- -(NSString *)getSortOrder;
- -(NSString *)getFilter;
- -(NSMutableArray *)getTaskseries;
- -(NSMutableArray *)getTaskseries:(BOOL)completed;
- -(void)setTaskseries:(NSMutableArray *)array;
- -(void)addTaskSeries:(NSRTMTaskseries *)series;
- -(void)updateTaskSeries:(NSRTMTaskseries *)series;
- -(BOOL)isSmart;
- @end