first commit, base client with gtk3
This commit is contained in:
18
conexion.h
Normal file
18
conexion.h
Normal 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
|
||||
Reference in New Issue
Block a user