18 lines
338 B
C
18 lines
338 B
C
|
#ifndef CONEXION_H
|
||
|
#define CONEXION_H
|
||
|
#include <string>
|
||
|
#include "config_reader.h"
|
||
|
#include "data_acces.h"
|
||
|
using namespace std;
|
||
|
class conexion
|
||
|
{
|
||
|
public:
|
||
|
conexion(config_reader &conf);
|
||
|
virtual void start_server();
|
||
|
protected:
|
||
|
data_acces* data;
|
||
|
int create_socket(int port);
|
||
|
config_reader* config;
|
||
|
};
|
||
|
#endif // CONEXION_H
|