-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.h
More file actions
36 lines (31 loc) · 643 Bytes
/
App.h
File metadata and controls
36 lines (31 loc) · 643 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
36
//
// Created by seraf on 28.03.2021.
//
#ifndef PROIECTOOP_APP_H
#define PROIECTOOP_APP_H
#include <fstream>
#include <vector>
#include <sstream>
#include <memory>
#include "Reminder.h"
#include "ShoppingList.h"
#include "ToDoList.h"
#include "Alarm.h"
class App {
static App* app;
std::vector<std::unique_ptr<Reminder>> rList;
std::vector<ShoppingList> sList;
std::vector<ToDoList> tdList;
std::vector<Alarm> aList;
App();
public:
static App* getApp(){
if(app == 0){
app = new App;
}
return app;
}
void setVectors();
void launch();
};
#endif //PROIECTOOP_APP_H