haiku/headers/private/debugger/model/TeamInfo.h

35 lines
665 B
C
Raw Normal View History

2013-04-26 02:46:06 +04:00
/*
* Copyright 2013, Rene Gollent, rene@gollent.com.
* Distributed under the terms of the MIT License.
*/
#ifndef TEAM_INFO_H
#define TEAM_INFO_H
#include <OS.h>
#include <String.h>
#include "Types.h"
class TeamInfo {
public:
TeamInfo();
TeamInfo(const TeamInfo& other);
TeamInfo(team_id team,
const team_info& info);
void SetTo(team_id team, const team_info& info);
void SetTo(team_id team, const BString& arguments);
2013-04-26 02:46:06 +04:00
team_id TeamID() const { return fTeam; }
const BString& Arguments() const { return fArguments; }
private:
team_id fTeam;
BString fArguments;
};
#endif // TEAM_INFO_H