ClienteTFG/controller_install.h

36 lines
802 B
C
Raw Normal View History

2020-05-16 20:52:10 +02:00
#ifndef CONTROLADOR_H
#define CONTROLADOR_H
#include "view_install.h"
#include "conexion.h"
#include "session_manager.h"
2020-06-03 18:59:39 +02:00
#include "controller_info.h"
2020-05-16 20:52:10 +02:00
class controller_install
{
public:
2020-06-01 23:24:24 +02:00
/**
* @brief controller_install
* View controler that send a name package to build
* @param view View to controle
* @param sesion Model to have the funcionality
2020-06-03 18:59:39 +02:00
* @param cont Window that contains these view
2020-06-01 23:24:24 +02:00
*/
2020-06-03 18:59:39 +02:00
controller_install(view_install* view, session_manager* sesion, controller_info* con);
2020-05-16 20:52:10 +02:00
private:
view_install *vis;
session_manager *sesi;
2020-06-03 18:59:39 +02:00
controller_info *con;
2020-06-01 23:24:24 +02:00
/**
* @brief add_controlers
* Add controlers to the bottons
*/
2020-05-16 20:52:10 +02:00
void add_controlers();
2020-06-01 23:24:24 +02:00
/**
* @brief on_button_clicked
* Button function
*/
2020-05-16 20:52:10 +02:00
void on_button_clicked();
};
#endif // CONTROLADOR_H