/* $Id: player.hpp 7532 2005-07-20 07:51:47Z ott $ */
/*
   Copyright (C) 2003-5 by David White <davidnwhite@verizon.net>
   Part of the Battle for Wesnoth Project http://www.wesnoth.org/

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY.

   See the COPYING file for more details.
*/

#ifndef PLAYER_HPP_INCLUDED
#define PLAYER_HPP_INCLUDED

#include "../config.hpp"

#include <string>

class player
{
public:
	player(const std::string& n, config& cfg);

	void mark_available(bool val);

	const std::string& name() const;

	config* config_address();

private:
	std::string name_;
	config& cfg_;
};

#endif
