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
14class TeamInfo {
15public:
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
28private:
29			team_id				fTeam;
30			BString				fArguments;
31};
32
33
34#endif // TEAM_INFO_H
35