From 95e4a93b1bb98eb94b4ca00fb73a0162bd5c8c0e Mon Sep 17 00:00:00 2001 From: Kahrl Date: Tue, 10 Sep 2013 15:49:43 +0200 Subject: Add license headers and remove useless includes --- src/database-sqlite3.cpp | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'src/database-sqlite3.cpp') diff --git a/src/database-sqlite3.cpp b/src/database-sqlite3.cpp index 1ae4d7a4b..17484d48c 100644 --- a/src/database-sqlite3.cpp +++ b/src/database-sqlite3.cpp @@ -1,3 +1,22 @@ +/* +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + /* SQLite format specification: - Initially only replaces sectors/ and sectors2/ @@ -15,24 +34,16 @@ BLOB data */ + +#include "database-sqlite3.h" + #include "map.h" #include "mapsector.h" #include "mapblock.h" +#include "serialization.h" #include "main.h" -#include "filesys.h" -#include "voxel.h" -#include "porting.h" -#include "mapgen.h" -#include "nodemetadata.h" #include "settings.h" #include "log.h" -#include "profiler.h" -#include "nodedef.h" -#include "gamedef.h" -#include "util/directiontables.h" -#include "rollback_interface.h" - -#include "database-sqlite3.h" Database_SQLite3::Database_SQLite3(ServerMap *map, std::string savedir) { -- cgit v1.2.3