QTfrontend/netserver.cpp
author unc0rr
Sat, 18 Oct 2008 13:37:03 +0000
changeset 1374 f33fa81e583d
parent 1066 1f1b3686a2b0
child 1375 c95c6887b289
permissions -rw-r--r--
Get rid of old net server

/*
 * Hedgewars, a free turn based strategy game
 * Copyright (c) 2006-2008 Igor Ulyanov <iulyanov@gmail.com>
 * Copyright (c) 2008 Andrey Korotaev <unC0Rr@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */

#include <QMessageBox>
#include "netserver.h"

bool HWNetServer::StartServer(quint16 port)
{
	ds_port = port;

	return true;
}

void HWNetServer::StopServer()
{
}


quint16 HWNetServer::getRunningPort() const
{
  return ds_port;
}