mirror of
https://github.com/znc/znc.git
synced 2026-05-04 20:42:33 +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:
3
User.cpp
3
User.cpp
@@ -10,6 +10,7 @@
|
||||
#include "Chan.h"
|
||||
#include "Config.h"
|
||||
#include "DCCSock.h"
|
||||
#include "FileUtils.h"
|
||||
#include "IRCSock.h"
|
||||
#include "Server.h"
|
||||
#include "znc.h"
|
||||
@@ -1514,4 +1515,6 @@ unsigned int CUser::GetBufferCount() const { return m_uBufferCount; }
|
||||
bool CUser::KeepBuffer() const { return m_bKeepBuffer; }
|
||||
//CString CUser::GetSkinName() const { return (!m_sSkinName.empty()) ? m_sSkinName : CZNC::Get().GetSkinName(); }
|
||||
CString CUser::GetSkinName() const { return m_sSkinName; }
|
||||
const CString& CUser::GetUserPath() const { if (!CFile::Exists(m_sUserPath)) { CDir::MakeDir(m_sUserPath); } return m_sUserPath; }
|
||||
const CString& CUser::GetDLPath() const { if (!CFile::Exists(m_sDLPath)) { CDir::MakeDir(m_sDLPath); } return m_sDLPath; }
|
||||
// !Getters
|
||||
|
||||
Reference in New Issue
Block a user