ClienteTFG/controller_install.cpp

18 lines
448 B
C++
Raw Normal View History

2020-05-16 20:52:10 +02:00
#include "controller_install.h"
controller_install::controller_install(view_install *vis, session_manager *sesi)
{
this->vis=vis;
this->sesi=sesi;
this->add_controlers();
}
void controller_install::add_controlers(){
vis->m_button.signal_clicked().connect(sigc::mem_fun(this,
&controller_install::on_button_clicked));
}
void controller_install::on_button_clicked(){
2020-05-26 18:09:22 +02:00
this->sesi->install_command(vis->entry.get_text());
2020-05-16 20:52:10 +02:00
}