]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/ban.h
Android: Implement Autohiding button bars to cleanup screen
[dragonfireclient.git] / src / ban.h
index 5a8532f14103d02d48234dd9dfce6f0dcf7db03e..d1a49cb154a4f96dfcd40886282b92eec4586186 100644 (file)
--- a/src/ban.h
+++ b/src/ban.h
@@ -1,6 +1,6 @@
 /*
-Minetest-c55
-Copyright (C) 2011 celeron55, Perttu Ahola <celeron55@gmail.com>
+Minetest
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 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
@@ -20,12 +20,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef BAN_HEADER
 #define BAN_HEADER
 
+#include "util/string.h"
+#include "threading/thread.h"
+#include "threading/mutex.h"
+#include "exceptions.h"
 #include <map>
 #include <string>
-#include <jthread.h>
-#include <jmutex.h>
-#include "common_irrlicht.h"
-#include "exceptions.h"
 
 class BanManager
 {
@@ -42,9 +42,9 @@ class BanManager
        void remove(const std::string &ip_or_name);
        bool isModified();
 private:
-       JMutex m_mutex;
+       Mutex m_mutex;
        std::string m_banfilepath;
-       std::map<std::string, std::string> m_ips;
+       StringMap m_ips;
        bool m_modified;
 
 };