Skip to content

Commit

Permalink
Move sha1.hpp and base64.hpp to util/
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Feb 21, 2015
1 parent aa31e3c commit 3998a1f
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -362,7 +362,6 @@ set (unittests_SRCS

set(common_SRCS
ban.cpp
base64.cpp
cavegen.cpp
clientiface.cpp
collision.cpp
Expand Down Expand Up @@ -422,7 +421,6 @@ set(common_SRCS
serverlist.cpp
serverobject.cpp
settings.cpp
sha1.cpp
socket.cpp
sound.cpp
staticobject.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/clientmedia.cpp
Expand Up @@ -19,14 +19,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,

#include "clientmedia.h"
#include "util/serialize.h"
#include "util/sha1.h"
#include "util/string.h"
#include "httpfetch.h"
#include "client.h"
#include "network/networkprotocol.h"
#include "filecache.h"
#include "filesys.h"
#include "hex.h"
#include "sha1.h"
#include "debug.h"
#include "log.h"
#include "porting.h"
Expand Down
2 changes: 1 addition & 1 deletion src/network/packethandlers/client.cpp
Expand Up @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,

#include "client.h"

#include "base64.h"
#include "util/base64.h"
#include "clientmedia.h"
#include "log.h"
#include "map.h"
Expand Down
2 changes: 1 addition & 1 deletion src/network/packethandlers/server.cpp
Expand Up @@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "server.h"
#include "log.h"

#include "base64.h"
#include "content_abm.h"
#include "content_sao.h"
#include "emerge.h"
Expand All @@ -34,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "version.h"
#include "network/networkprotocol.h"
#include "network/serveropcodes.h"
#include "util/base64.h"
#include "util/pointedthing.h"
#include "util/serialize.h"

Expand Down
4 changes: 2 additions & 2 deletions src/server.cpp
Expand Up @@ -51,8 +51,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "content_abm.h"
#include "content_sao.h"
#include "mods.h"
#include "sha1.h"
#include "base64.h"
#include "util/sha1.h"
#include "util/base64.h"
#include "sound.h" // dummySoundManager
#include "event_manager.h"
#include "hex.h"
Expand Down
2 changes: 2 additions & 0 deletions src/util/CMakeLists.txt
@@ -1,8 +1,10 @@
set(UTIL_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/base64.cpp
${CMAKE_CURRENT_SOURCE_DIR}/directiontables.cpp
${CMAKE_CURRENT_SOURCE_DIR}/numeric.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pointedthing.cpp
${CMAKE_CURRENT_SOURCE_DIR}/serialize.cpp
${CMAKE_CURRENT_SOURCE_DIR}/sha1.cpp
${CMAKE_CURRENT_SOURCE_DIR}/string.cpp
${CMAKE_CURRENT_SOURCE_DIR}/timetaker.cpp
PARENT_SCOPE)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/util/string.cpp
Expand Up @@ -22,8 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "numeric.h"
#include "log.h"

#include "../sha1.h"
#include "../base64.h"
#include "sha1.h"
#include "base64.h"
#include "../hex.h"
#include "../porting.h"

Expand Down

0 comments on commit 3998a1f

Please sign in to comment.