mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-23 04:03:10 +00:00
17 lines
No EOL
879 B
C++
Executable file
17 lines
No EOL
879 B
C++
Executable file
#include "ui/MainApplication.hpp"
|
|
|
|
namespace inst::ui {
|
|
MainApplication *mainApp;
|
|
|
|
void MainApplication::OnLoad() {
|
|
mainApp = this;
|
|
|
|
this->mainPage = MainPage::New();
|
|
this->netinstPage = netInstPage::New();
|
|
this->nspinstPage = nspInstPage::New();
|
|
this->mainPage->SetOnInput(std::bind(&MainPage::onInput, this->mainPage, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4));
|
|
this->netinstPage->SetOnInput(std::bind(&netInstPage::onInput, this->netinstPage, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4));
|
|
this->nspinstPage->SetOnInput(std::bind(&nspInstPage::onInput, this->nspinstPage, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4));
|
|
this->LoadLayout(this->mainPage);
|
|
}
|
|
} |