Skip to content

Commit

Permalink
add todo remove with gui
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Oct 15, 2024
1 parent 6e067fd commit 6bc87fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libs/antares/study/study.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ Area* Study::areaAdd(const AreaName& name, bool updateMode)
return area;
}

// TODO VP: delete with GUI
bool Study::areaDelete(Area* area)
{
if (not area)
Expand Down Expand Up @@ -702,6 +703,7 @@ bool Study::areaDelete(Area* area)
return true;
}

// TODO VP: delete with GUI
void Study::areaDelete(Area::Vector& arealist)
{
if (arealist.empty())
Expand Down Expand Up @@ -764,6 +766,7 @@ void Study::areaDelete(Area::Vector& arealist)
}
}

// TODO VP: delete with GUI
bool Study::linkDelete(AreaLink* lnk)
{
// Impossible to find the attached area
Expand All @@ -789,6 +792,7 @@ bool Study::linkDelete(AreaLink* lnk)
return true;
}

// TODO VP: delete with GUI
bool Study::areaRename(Area* area, AreaName newName)
{
// A name must not be empty
Expand Down Expand Up @@ -871,6 +875,7 @@ bool Study::areaRename(Area* area, AreaName newName)
return ret;
}

// TODO VP: delete with GUI
bool Study::clusterRename(Cluster* cluster, ClusterName newName)
{
// A name must not be empty
Expand Down

0 comments on commit 6bc87fc

Please sign in to comment.