aboutsummaryrefslogtreecommitdiff
path: root/include/UsersSidePanel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/UsersSidePanel.hpp')
-rw-r--r--include/UsersSidePanel.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/UsersSidePanel.hpp b/include/UsersSidePanel.hpp
index aebdb34..b2855bb 100644
--- a/include/UsersSidePanel.hpp
+++ b/include/UsersSidePanel.hpp
@@ -1,14 +1,17 @@
#pragma once
-#include "User.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
namespace dchat
{
+ class Channel;
+
class UsersSidePanel
{
public:
- static void addUser(User *user);
+ static void setCurrentChannel(Channel *channel);
+ static Channel* getCurrentChannel();
+
static void draw(sf::RenderWindow &window);
static float getWidth();
};