xref: /haiku/headers/private/debugger/model/TeamInfo.h (revision a3e794ae459fec76826407f8ba8c94cd3535f128)
1 /*
2  * Copyright 2013, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef TEAM_INFO_H
6 #define TEAM_INFO_H
7 
8 #include <OS.h>
9 #include <String.h>
10 
11 #include "Types.h"
12 
13 
14 class TeamInfo {
15 public:
16 								TeamInfo();
17 								TeamInfo(const TeamInfo& other);
18 								TeamInfo(team_id team,
19 									const team_info& info);
20 
21 			void				SetTo(team_id team, const team_info& info);
22 			void				SetTo(team_id team, const BString& arguments);
23 
24 			team_id				TeamID() const	{ return fTeam; }
25 
26 			const BString&		Arguments() const	{ return fArguments; }
27 
28 private:
29 			team_id				fTeam;
30 			BString				fArguments;
31 };
32 
33 
34 #endif // TEAM_INFO_H
35