Don't include FileUtils.h in znc.h or Modules.h

Both these headers only really need CFile* which can be handled with a forward
declaration.

To make this possible, some methods are moved from the header file into the
corresponding implementation file, because they used CFile or CDir static
members.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-04-03 10:21:59 +02:00
parent ad442f4f10
commit 8e59f75125
5 changed files with 36 additions and 8 deletions
+2 -1
View File
@@ -6,8 +6,9 @@
* by the Free Software Foundation.
*/
#include "Modules.h"
#include "HTTPSock.h"
#include "FileUtils.h"
#include "Modules.h"
#include "znc.h"
#include <sstream>