/NSRTMTask.h

http://rtm2cocoa.googlecode.com/ · C Header · 54 lines · 27 code · 7 blank · 20 comment · 0 complexity · 3f4ea9befacd21c1075f79404875cd14 MD5 · raw file

  1. /*
  2. * NSRTMTask.h
  3. * ApiTest
  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 "NSRTMObject.h"
  23. @interface NSRTMTask : NSRTMObject {
  24. NSString *task_id;
  25. NSString *due;
  26. NSString *has_due_time;
  27. NSString *added;
  28. NSString *completed;
  29. NSString *deleted;
  30. NSString *priority;
  31. NSString *postponed;
  32. NSString *estimate;
  33. NSInteger iscompleted;
  34. }
  35. -(NSString *)getId;
  36. -(NSDate *)getDue;
  37. -(NSString *)getHasDueTime;
  38. -(NSDate *)getAdded;
  39. -(NSDate *)getCompleted;
  40. -(NSDate *)getDeleted;
  41. -(NSString *)getPriority;
  42. -(NSString *)getPostponed;
  43. -(NSString *)getEstimate;
  44. -(void)setCompleted:(NSString *)datevalue;
  45. -(NSInteger)isCompleted;
  46. -(void)setIsCompleted:(NSInteger)completedValue;
  47. @end