mirror of
https://github.com/znc/znc.git
synced 2026-08-10 19:02:51 +02:00
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:
@@ -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>
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#define REQUIRESSL
|
||||
|
||||
#include "User.h"
|
||||
#include "FileUtils.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
#define CRYPT_VERIFICATION_TOKEN "::__:AWAY:__::"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* Author: imaginos <imaginos@imaginos.net>
|
||||
*/
|
||||
|
||||
#include "FileUtils.h"
|
||||
#include "MD5.h"
|
||||
#include "User.h"
|
||||
#include "znc.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include "FileUtils.h"
|
||||
#include "User.h"
|
||||
#include "Chan.h"
|
||||
#include "Server.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include "FileUtils.h"
|
||||
#include "User.h"
|
||||
#include "znc.h"
|
||||
#include "ExecSock.h"
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include "Chan.h"
|
||||
#include "User.h"
|
||||
#include "FileUtils.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
#define CRYPT_VERIFICATION_TOKEN "::__:SAVEBUFF:__::"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#define REQUIRESSL
|
||||
|
||||
#include "FileUtils.h"
|
||||
#include "User.h"
|
||||
#include "znc.h"
|
||||
#include <sstream>
|
||||
|
||||
Reference in New Issue
Block a user