/*
   client/control.h
   This file is part of the Osirion project and is distributed under
   the terms and conditions of the GNU General Public License version 2
*/

#include "client/control.h"
#include <cassert>

namespace client
{

Control::Control(const char *name, const char *command, const char *keyname)
{	
	assert(name);
	_name.assign(name);
	
	if (command)
	{
		_command.assign(command);
	}
	
	if (keyname)
	{
		_keyname.assign(keyname);
		_defaultkeyname.assign(keyname);
	}
}

Control::~Control()
{
}

} // namespace client