[go: up one dir, main page]

File: Task.h

package info (click to toggle)
agenda.app 0.36-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 504 kB
  • ctags: 53
  • sloc: objc: 4,979; makefile: 57
file content (27 lines) | stat: -rw-r--r-- 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* emacs buffer mode hint -*- objc -*- */

#import "Date.h"
#import "Element.h"
#import "AgendaStore.h"

enum taskState
{
  TK_NONE = 0, 
  TK_INPROCESS, 
  TK_COMPLETED, 
  TK_CANCELED 
};

@interface Task : Element
{
  enum taskState _state;
  Date *_completionDate;
}

+ (NSArray *)stateNamesArray;
- (enum taskState)state;
- (NSString *)stateAsString;
- (void)setState:(enum taskState)state;
- (Date *)completionDate;
- (void)setCompletionDate:(Date *)cd;
@end