2020-05-13 00:56:26 +02:00
|
|
|
#ifndef CONTAINER_WINDOW_H
|
|
|
|
#define CONTAINER_WINDOW_H
|
2020-05-16 20:52:10 +02:00
|
|
|
#include "view_install.h"
|
2020-05-13 00:56:26 +02:00
|
|
|
#include "view_loggin.h"
|
2020-05-16 20:52:10 +02:00
|
|
|
#include "controller_install.h"
|
2020-05-13 00:56:26 +02:00
|
|
|
#include "conexion.h"
|
2020-05-16 20:52:10 +02:00
|
|
|
#include "session_manager.h"
|
2020-05-19 20:34:51 +02:00
|
|
|
#include "view_info.h"
|
|
|
|
#include "controller_info.h"
|
2020-05-20 00:09:18 +02:00
|
|
|
#include "view_user_info.h"
|
|
|
|
#include "controller_user_info.h"
|
2020-05-13 00:56:26 +02:00
|
|
|
|
2020-05-16 20:52:10 +02:00
|
|
|
#include <gtkmm/notebook.h>
|
|
|
|
#include <memory>
|
2020-05-13 00:56:26 +02:00
|
|
|
|
|
|
|
class container_window: public Gtk::Window
|
|
|
|
{
|
|
|
|
public:
|
2020-06-01 23:24:24 +02:00
|
|
|
/**
|
|
|
|
* @brief container_window
|
|
|
|
* Windos that contains all views and controlers
|
|
|
|
* @param con Conexion used in the aplication
|
|
|
|
* @param app App that contains the gtk loop
|
|
|
|
*/
|
2020-05-13 00:56:26 +02:00
|
|
|
container_window(conexion *con, Glib::RefPtr< Gtk::Application > app);
|
|
|
|
private:
|
|
|
|
Glib::RefPtr< Gtk::Application > app;
|
2020-05-16 20:52:10 +02:00
|
|
|
std::unique_ptr<session_manager> sesion;
|
2020-05-13 00:56:26 +02:00
|
|
|
view_loggin loggin;
|
2020-05-16 20:52:10 +02:00
|
|
|
view_install install;
|
2020-05-19 20:34:51 +02:00
|
|
|
view_info info;
|
2020-05-20 00:09:18 +02:00
|
|
|
view_user_info uinfo;
|
2020-05-19 20:34:51 +02:00
|
|
|
controller_install *cont_inst;
|
|
|
|
controller_info *cont_info;
|
2020-05-20 00:09:18 +02:00
|
|
|
controller_user_info *con_uinfo;
|
2020-05-13 00:56:26 +02:00
|
|
|
Gtk::Notebook book;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONTAINER_WINDOW_H
|