btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / debugger / model / TeamInfo.h
blobef2241ac8a23ca00932b02c68daf4d0e777070df
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
8 #include <OS.h>
9 #include <String.h>
11 #include "Types.h"
14 class TeamInfo {
15 public:
16 TeamInfo();
17 TeamInfo(const TeamInfo& other);
18 TeamInfo(team_id team,
19 const team_info& info);
21 void SetTo(team_id team, const team_info& info);
22 void SetTo(team_id team, const BString& arguments);
24 team_id TeamID() const { return fTeam; }
26 const BString& Arguments() const { return fArguments; }
28 private:
29 team_id fTeam;
30 BString fArguments;
34 #endif // TEAM_INFO_H