Clean up includes

All the headers are now self-contained (g++ Header.h -o /dev/null).

Some system headers where moved to the .cpp they are actually needed in,
some of our own headers are includes less. (Especially MD5.h)

Headers are sorted alphabetically while in e.g. FileUtils.cpp FileUtils.h
is the first file included.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@915 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-01-07 21:31:16 +00:00
parent 3637091b60
commit e72c445694
55 changed files with 123 additions and 285 deletions
+9 -9
View File
@@ -11,15 +11,20 @@
#ifndef _MODULES_H
#define _MODULES_H
#include "main.h"
#include "FileUtils.h"
#include "Client.h"
#include <dlfcn.h>
#include <vector>
#include "Utils.h"
#include <set>
#include <vector>
using std::vector;
using std::set;
// Forward Declarations
class CAuthBase;
class CChan;
class CClient;
// !Forward Declarations
// User Module Macros
#ifdef REQUIRESSL
#ifndef HAVE_LIBSSL
@@ -31,11 +36,6 @@ using std::set;
#endif
#endif
#ifndef RTLD_LOCAL
# define RTLD_LOCAL 0
# warning "your crap box doesnt define RTLD_LOCAL !?"
#endif
#define MODCONSTRUCTOR(CLASS) \
CLASS(void *pDLL, CUser* pUser, const CString& sModName, \
const CString& sModPath) \