Stop including FileUtils.h in any header

This causes every piece of code which wants to use CFile or CDir to have to
include FileUtils.h. This causes quite some noise.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-04-03 11:48:50 +02:00
parent 1761fe71e4
commit 3f24f28736
23 changed files with 52 additions and 29 deletions
+2 -1
View File
@@ -6,9 +6,10 @@
* by the Free Software Foundation.
*/
#include "User.h"
#include "Client.h"
#include "FileUtils.h"
#include "Server.h"
#include "User.h"
#include <syslog.h>
+1
View File
@@ -12,6 +12,7 @@
#define REQUIRESSL
#include "User.h"
#include "FileUtils.h"
#include <sys/stat.h>
#define CRYPT_VERIFICATION_TOKEN "::__:AWAY:__::"
+1
View File
@@ -9,6 +9,7 @@
* Author: imaginos <imaginos@imaginos.net>
*/
#include "FileUtils.h"
#include "MD5.h"
#include "User.h"
#include "znc.h"
+1
View File
@@ -7,6 +7,7 @@
* by the Free Software Foundation.
*/
#include "FileUtils.h"
#include "User.h"
#include "Chan.h"
#include "Server.h"
+1
View File
@@ -6,6 +6,7 @@
* by the Free Software Foundation.
*/
#include "FileUtils.h"
#include "User.h"
#include "znc.h"
#include "ExecSock.h"
+2 -1
View File
@@ -6,9 +6,10 @@
* by the Free Software Foundation.
*/
#include "znc.h"
#include "FileUtils.h"
#include "IRCSock.h"
#include "User.h"
#include "znc.h"
class CIdentFileModule : public CGlobalModule {
CString m_sOrigISpoof;
+5 -4
View File
@@ -6,12 +6,13 @@
* by the Free Software Foundation.
*/
#include "Modules.h"
#include "User.h"
#include "Chan.h"
#include "Nick.h"
#include "znc.h"
#include "FileUtils.h"
#include "IRCSock.h"
#include "Modules.h"
#include "Nick.h"
#include "User.h"
#include "znc.h"
#include "modperl/module.h"
#include "modperl/swigperlrun.h"
+5 -4
View File
@@ -8,12 +8,13 @@
#include <Python.h>
#include "Modules.h"
#include "User.h"
#include "Chan.h"
#include "Nick.h"
#include "znc.h"
#include "FileUtils.h"
#include "IRCSock.h"
#include "Modules.h"
#include "Nick.h"
#include "User.h"
#include "znc.h"
#include "modpython/swigpyrun.h"
#include "modpython/module.h"
+1
View File
@@ -16,6 +16,7 @@
#include "Chan.h"
#include "User.h"
#include "FileUtils.h"
#include <sys/stat.h>
#define CRYPT_VERIFICATION_TOKEN "::__:SAVEBUFF:__::"
+1
View File
@@ -11,6 +11,7 @@
#define REQUIRESSL
#include "FileUtils.h"
#include "User.h"
#include "znc.h"
#include <sstream>