first commit, base server

This commit is contained in:
2020-05-08 12:43:46 +02:00
commit e5078b4969
23 changed files with 955 additions and 0 deletions

21
session_manager.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef LAUNCHER_H
#define LAUNCHER_H
#include <iostream>
#include <data_acces.h>
class session_manager
{
public:
session_manager(int fd);
void start_dialog();
int execute();
void send_information();
bool validate_pass();
private:
virtual int read_data(char* input, int size);
virtual int write_data(std::string output);
int fd;
data_acces* data;
char** args;
};
#endif // LAUNCHER_H