mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
IRCClient: Hacking on IRCClient bringup.
This commit is contained in:
parent
aa19735c5a
commit
850c7504a2
11 changed files with 210 additions and 12 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <AK/Retainable.h>
|
||||
#include <AK/RetainPtr.h>
|
||||
|
||||
class IRCLogBufferModel;
|
||||
|
||||
class IRCLogBuffer : public Retainable<IRCLogBuffer> {
|
||||
public:
|
||||
static Retained<IRCLogBuffer> create();
|
||||
|
@ -24,8 +26,13 @@ public:
|
|||
|
||||
void dump() const;
|
||||
|
||||
const IRCLogBufferModel* model() const { return m_model; }
|
||||
IRCLogBufferModel* model() { return m_model; }
|
||||
|
||||
private:
|
||||
IRCLogBuffer();
|
||||
|
||||
IRCLogBufferModel* m_model { nullptr };
|
||||
|
||||
CircularQueue<Message, 1000> m_messages;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue