#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(){ this->sesi->install_command(vis->entry.get_text()); }