ClienteTFG/controller_user_info.h

23 lines
533 B
C
Raw Normal View History

2020-05-20 00:09:18 +02:00
#ifndef CONTROLLER_USER_INFO_H
#define CONTROLLER_USER_INFO_H
#include "view_user_info.h"
#include "session_manager.h"
class controller_user_info
{
public:
2020-05-23 19:59:55 +02:00
controller_user_info(view_user_info *view, session_manager *session, Gtk::Window *container);
2020-05-20 00:09:18 +02:00
private:
view_user_info *view;
session_manager *sesion;
2020-05-23 19:59:55 +02:00
Gtk::Window *container;
2020-05-20 00:09:18 +02:00
void load_info();
2020-05-23 19:59:55 +02:00
void add_controlers();
void on_button_clicked_add();
void on_button_clicked_remove();
2020-05-20 00:09:18 +02:00
std::string get_first(std::string &info);
};
#endif // CONTROLLER_USER_INFO_H