headers/bsd: Add sys/queue.h.
[haiku.git] / src / kits / debugger / model / TeamInfo.cpp
blobc863178ea3918190c5d4899113306d5779a24553
1 /*
2 * Copyright 2013, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
7 #include "TeamInfo.h"
10 TeamInfo::TeamInfo()
12 fTeam(-1),
13 fArguments()
18 TeamInfo::TeamInfo(const TeamInfo &other)
20 fTeam = other.fTeam;
21 fArguments = other.fArguments;
25 TeamInfo::TeamInfo(team_id team, const team_info& info)
27 SetTo(team, info);
31 void
32 TeamInfo::SetTo(team_id team, const team_info& info)
34 fTeam = team;
35 fArguments.SetTo(info.args);
39 void
40 TeamInfo::SetTo(team_id team, const BString& arguments)
42 fTeam = team;
43 fArguments.SetTo(arguments);