Debugger: TeamInfo: Add SetTo() version

... that doesn't expect a team_info.
This commit is contained in:
Ingo Weinhold 2016-04-24 18:35:45 +02:00
parent 86fe52b6bc
commit 3d26e83096
2 changed files with 9 additions and 0 deletions

View File

@ -34,3 +34,11 @@ TeamInfo::SetTo(team_id team, const team_info& info)
fTeam = team;
fArguments.SetTo(info.args);
}
void
TeamInfo::SetTo(team_id team, const BString& arguments)
{
fTeam = team;
fArguments.SetTo(arguments);
}

View File

@ -19,6 +19,7 @@ public:
const team_info& info);
void SetTo(team_id team, const team_info& info);
void SetTo(team_id team, const BString& arguments);
team_id TeamID() const { return fTeam; }