From b47b8bd19633a0c9150709b39fa4cb2693b361c9 Mon Sep 17 00:00:00 2001 From: hiker Date: Tue, 27 Oct 2015 08:25:52 +1100 Subject: [PATCH] Removed empty file. --- sources.cmake | 2 +- src/network/network_interface.cpp | 28 ----------- src/network/network_interface.hpp | 52 -------------------- src/network/protocols/get_public_address.cpp | 1 - 4 files changed, 1 insertion(+), 82 deletions(-) delete mode 100644 src/network/network_interface.cpp delete mode 100644 src/network/network_interface.hpp diff --git a/sources.cmake b/sources.cmake index e63fbe6de..181714719 100644 --- a/sources.cmake +++ b/sources.cmake @@ -1,5 +1,5 @@ # Modify this file to change the last-modified date when you add/remove a file. -# This will then trigger a new cmake run automatically. +# This will then trigger a new cmake run automatically. file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp") file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp") file(GLOB_RECURSE STK_SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/shaders/*") diff --git a/src/network/network_interface.cpp b/src/network/network_interface.cpp deleted file mode 100644 index ba7c69553..000000000 --- a/src/network/network_interface.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// -// SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2015 SuperTuxKart-Team -// -// 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; either version 3 -// of the License, or (at your option) any later version. -// -// 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 "network/network_interface.hpp" - - -NetworkInterface::NetworkInterface() -{ -} - -NetworkInterface::~NetworkInterface() -{ -} diff --git a/src/network/network_interface.hpp b/src/network/network_interface.hpp deleted file mode 100644 index b41339029..000000000 --- a/src/network/network_interface.hpp +++ /dev/null @@ -1,52 +0,0 @@ -// -// SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2015 SuperTuxKart-Team -// -// 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; either version 3 -// of the License, or (at your option) any later version. -// -// 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. - -/*! \file network_interface.hpp - * \brief Defines an interface to network middle-level functions. - */ - -#ifndef NETWORK_INTERFACE_H -#define NETWORK_INTERFACE_H - -#include "network/types.hpp" -#include "utils/singleton.hpp" - -#include -#include - -/** \class NetworkInterface - * \ingroup network - */ -class NetworkInterface : public AbstractSingleton -{ - friend class AbstractSingleton; - public: - - /*! \brief Used to init the network. - * \param server : True if we're a server. - */ - void initNetwork(bool server); - - protected: - // protected functions - NetworkInterface(); - virtual ~NetworkInterface(); - -}; - -#endif // NETWORK_INTERFACE_H diff --git a/src/network/protocols/get_public_address.cpp b/src/network/protocols/get_public_address.cpp index 3c5a488b6..2122488a4 100644 --- a/src/network/protocols/get_public_address.cpp +++ b/src/network/protocols/get_public_address.cpp @@ -20,7 +20,6 @@ #include "config/user_config.hpp" #include "network/network.hpp" -#include "network/network_interface.hpp" #include "network/protocols/connect_to_server.hpp" #include "network/stk_host.hpp" #include "utils/log.hpp"