/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. #import <Cocoa/Cocoa.h>
  22. #import "NSRTMTaskseries.h"
  23. #import "NSRTMObject.h"
  24. @interface NSRTMList : NSRTMObject {
  25. NSString *listid;
  26. NSString *name;
  27. NSString *deleted;
  28. NSString *locked;
  29. NSString *archived;
  30. NSString *position;
  31. NSString *smart;
  32. BOOL isSmart;
  33. NSString *sort_order;
  34. NSString *filter;
  35. NSMutableArray *taskseries;
  36. }
  37. -(NSString *)getListId;
  38. -(NSString *)getName;
  39. -(NSString *)getDeleted;
  40. -(NSString *)getLocked;
  41. -(NSString *)getArchived;
  42. -(NSString *)getPosition;
  43. -(NSString *)getSmart;
  44. -(NSString *)getSortOrder;
  45. -(NSString *)getFilter;
  46. -(NSMutableArray *)getTaskseries;
  47. -(NSMutableArray *)getTaskseries:(BOOL)completed;
  48. -(void)setTaskseries:(NSMutableArray *)array;
  49. -(void)addTaskSeries:(NSRTMTaskseries *)series;
  50. -(void)updateTaskSeries:(NSRTMTaskseries *)series;
  51. -(BOOL)isSmart;
  52. @end