20 #include <znc/zncconfig.h>
44 return m_Buffer.
AddLine(Format, sText);
48 const timeval* ts =
nullptr,
50 return m_Buffer.
AddLine(sFormat, sText, ts, mssTags);
bool SetLineCount(unsigned int u, bool bForce=false)
size_type AddLine(const CMessage &Format, const CString &sText="")
unsigned int GetLineCount() const
Definition: Buffer.h:107
void Clear()
Definition: Buffer.h:100
Definition: IRCNetwork.h:40
Here is a small explanation of how messages on IRC work, and how you can use this class to get useful...
Definition: Message.h:57
bool SetBufferCount(unsigned int u, bool bForce=false)
Definition: Query.h:40
size_t AddBuffer(const CString &sFormat, const CString &sText="", const timeval *ts=nullptr, const MCString &mssTags=MCString::EmptyMap)
Definition: Query.h:47
CQuery & operator=(const CQuery &)=delete
void SendBuffer(CClient *pClient, const CBuffer &Buffer)
void SendBuffer(CClient *pClient)
void ClearBuffer()
Definition: Query.h:52
CQuery(const CString &sName, CIRCNetwork *pNetwork)
unsigned int GetBufferCount() const
Definition: Query.h:39
size_t AddBuffer(const CMessage &Format, const CString &sText="")
Definition: Query.h:43
const CBuffer & GetBuffer() const
Definition: Query.h:38
CQuery(const CQuery &)=delete
const CString & GetName() const
Definition: Query.h:58
String class that is used inside ZNC.
Definition: ZNCString.h:68
A dictionary for strings.
Definition: ZNCString.h:595
static const MCString EmptyMap
A static instance of an empty map.
Definition: ZNCString.h:606