-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask.h
More file actions
36 lines (27 loc) · 889 Bytes
/
Copy pathTask.h
File metadata and controls
36 lines (27 loc) · 889 Bytes
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
28
29
30
31
32
33
34
35
#ifndef TASK_H
#define TASK_H
#include<string>
#include"Project.h"
class Task : public Project
{
protected:
string taskID;
Person assignedPerson;
string dueDate;
string status;
public:
Task(const string& id,const string& name,const string& startDate,const string& endDate,const string& status1,const string& description,const string& ID,const Person& person,string due,string status);
void setTaskID(const string& ID);
void setAssignedPerson(const Person& person);
void setDueDate(string Due);
void setStatus(string status);
string getTaskID() const;
Person getAssignedPerson() const;
string getDueDate() const;
string getStatus() const;
void display() const;
static void readFromTasksFile();
void appendToTasksFile() const;
void removeFromFile(const string& filename, const string& taskID);
};
#endif // TASK_H