ClienteTFG/container_window.h

38 lines
918 B
C
Raw Normal View History

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"
#include "view_remove.h"
#include "controller_remove.h"
#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:
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;
view_remove remove;
view_info info;
2020-05-20 00:09:18 +02:00
view_user_info uinfo;
controller_install *cont_inst;
controller_remove *cont_rem;
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