-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToDoList.h
More file actions
34 lines (25 loc) · 689 Bytes
/
ToDoList.h
File metadata and controls
34 lines (25 loc) · 689 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
//
// Created by seraf on 17.03.2021.
//
#ifndef PROIECTOOP_TODOLIST_H
#define PROIECTOOP_TODOLIST_H
#include <string>
#include <vector>
#include "Reminder.h"
class ToDoList {
std::string name;
std::vector<Reminder> tasks;
std::vector<Reminder> completed;
public:
ToDoList(std::string name);
~ToDoList();
ToDoList(const ToDoList &A);
friend std::ostream& operator<<(std::ostream& out, ToDoList& lista);
void addTask(std::string message, DateTime time);
void removeTask(int i);
void nextTasks(DateTime time);
void missedTasks();
void completedTask(int i);
void printCompleted(std::ostream& os);
};
#endif //PROIECTOOP_TODOLIST_H