Removed unused functions ai::command_history_item::set_number/set_command.

This commit is contained in:
Guillaume Melquiond 2009-12-06 09:57:15 +00:00
parent e4442ea156
commit abad9f00be
2 changed files with 0 additions and 26 deletions

View File

@ -257,13 +257,6 @@ const std::string holder::get_ai_identifier() const
// AI COMMAND HISTORY ITEM
// =======================================================================
command_history_item::command_history_item()
: number_(0), command_()
{
}
command_history_item::command_history_item( side_number number, const std::string& command )
: number_(number), command_(command)
{
@ -271,34 +264,17 @@ command_history_item::command_history_item( side_number number, const std::strin
}
command_history_item::~command_history_item()
{
}
int command_history_item::get_number() const
{
return this->number_;
}
void command_history_item::set_number( int number )
{
this->number_ = number;
}
const std::string& command_history_item::get_command() const
{
return this->command_;
}
void command_history_item::set_command( const std::string& command )
{
this->command_ = command;
}
// =======================================================================
// LIFECYCLE
// =======================================================================

View File

@ -97,10 +97,8 @@ public:
command_history_item(int number, const std::string& command);
int get_number() const;
void set_number(int number);
const std::string& get_command() const;
void set_command(const std::string& command);
private:
int number_;