Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CMessageFilter Class Reference

#include <Security.h>

List of all members.

Public Member Functions

 CMessageFilter ()
virtual ~CMessageFilter ()
void Load ()
BOOL IsED2KSpam (LPCTSTR)
BOOL IsFiltered (LPCTSTR)

Private Attributes

LPTSTR m_pszED2KSpam
LPTSTR m_pszFilteredPhrases


Constructor & Destructor Documentation

CMessageFilter::CMessageFilter  ) 
 

Definition at line 1346 of file Security.cpp.

References m_pszED2KSpam, m_pszFilteredPhrases, and NULL.

CMessageFilter::~CMessageFilter  )  [virtual]
 

Definition at line 1352 of file Security.cpp.

References m_pszED2KSpam, m_pszFilteredPhrases, and NULL.


Member Function Documentation

BOOL CMessageFilter::IsED2KSpam LPCTSTR   ) 
 

Definition at line 1490 of file Security.cpp.

References _tcsistr(), CSettings::sCommunity::ChatFilterED2K, CSettings::Community, m_pszED2KSpam, NULL, and Settings.

Referenced by CEDClient::OnMessage().

BOOL CMessageFilter::IsFiltered LPCTSTR   ) 
 

Definition at line 1510 of file Security.cpp.

References _tcsistr(), CSettings::sCommunity::ChatFilter, CSettings::Community, m_pszFilteredPhrases, NULL, and Settings.

Referenced by CEDClient::OnMessage(), and CPrivateChatFrame::OnRemoteMessage().

void CMessageFilter::Load  ) 
 

Definition at line 1362 of file Security.cpp.

References CBuffer::EnsureBuffer(), CSettings::General, CBuffer::m_nLength, CBuffer::m_pBuffer, m_pszED2KSpam, NULL, CSettings::sGeneral::Path, CBuffer::ReadLine(), and Settings.

Referenced by CShareazaApp::InitInstance().


Member Data Documentation

LPTSTR CMessageFilter::m_pszED2KSpam [private]
 

Definition at line 158 of file Security.h.

Referenced by CMessageFilter(), IsED2KSpam(), Load(), and ~CMessageFilter().

LPTSTR CMessageFilter::m_pszFilteredPhrases [private]
 

Definition at line 159 of file Security.h.

Referenced by CMessageFilter(), IsFiltered(), and ~CMessageFilter().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2