first commit, base client with gtk3

This commit is contained in:
2020-05-08 12:42:02 +02:00
commit f9cdde7008
17 changed files with 777 additions and 0 deletions

18
conexion.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef CONEXION_H
#define CONEXION_H
#include "config_reader.h"
class conexion
{
public:
conexion(config_reader &conf);
virtual ssize_t read_string(std::string &entrada, int size);
virtual ssize_t write_string(std::string entrada);
bool check_pass(std::string usernem, std::string pass);
protected:
config_reader *config;
int fd;
};
#endif // CONEXION_H