aboutsummaryrefslogtreecommitdiff
path: root/include/Channel.hpp
blob: fa52a4b0c085f2939cb30bf227a7fd689de71638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "MessageBoard.hpp"
#include "Chatbar.hpp"
#include "User.hpp"
#include "Channel.hpp"

namespace dchat
{
    class Channel
    {
    public:
        Channel();
        ~Channel();
        
        void processEvent(const sf::Event &event);
        void draw(sf::RenderWindow &window, Cache &cache);
    private:
        MessageBoard messageBoard;
        Chatbar chatbar;
        OfflineUser localOfflineUser;
    };
}