Debugger: TeamInfo: Add SetTo() version
... that doesn't expect a team_info.
This commit is contained in:
parent
86fe52b6bc
commit
3d26e83096
@ -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);
|
||||
}
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user