void BuildSettingsConfig::SaveBuilderConfig(BuilderPtr builder) { //update configuration file BuilderConfigPtr bsptr(new BuilderConfig(NULL)); bsptr->SetName(builder->GetName()); bsptr->SetIsActive(builder->IsActive()); SetBuildSystem(bsptr); }
void BuildPage::CustomInit() { //rest of builders list std::list<wxString> builders; BuildManagerST::Get()->GetBuilders(builders); std::list<wxString>::iterator iter = builders.begin(); for(; iter != builders.end(); iter++){ BuilderPtr builder = BuildManagerST::Get()->GetBuilder(*iter); m_bookBuildSystems->AddPage(CreateBuildSystemPage(*iter), *iter, builder->IsActive()); } }