-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.h
29 lines (26 loc) · 768 Bytes
/
App.h
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
#ifndef _APP_H_
#define _APP_H_
#include <iostream>
#include <vector>
#include "User.h"
#include "DataManager.h"
class App
{
private:
DataManager *dataManager = NULL;
User *user = NULL;
public:
App(string fileDirectoryRead, string fileDirectorySave);
~App();
void LoginUser(string login, string password);
void LogoutUser();
void ChangeDataUser(string where, string change);
bool IsLogin();
bool ErrorOpenFile();
bool CreateUser(string login, string password, string age, string text);
bool DeleteUser();
bool CheckLogin(string login);
bool CheckUserIsRegister(string login, string password);
vector <string> GetUser();
};
#endif // _APP_H_