diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-04-28 15:31:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-04-28 15:31:33 +0200 |
commit | 9d84d5d8e7f61a02c01eef021ea5e8b2f49dcf8f (patch) | |
tree | c680f1d77e09d8333299d4098b0093240e138f91 /include/UsersSidePanel.hpp | |
parent | 3b03f87070d91f63f0dc3c7152723727781dcccf (diff) |
Connect channels to database, currently only locally
Diffstat (limited to 'include/UsersSidePanel.hpp')
-rw-r--r-- | include/UsersSidePanel.hpp | 7 |
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(); }; |