mirror of
https://github.com/znc/znc.git
synced 2026-08-10 02:43:05 +02:00
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:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user