diff options
Diffstat (limited to 'include/Channel.hpp')
-rw-r--r-- | include/Channel.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Channel.hpp b/include/Channel.hpp index 6f5495f..31a17f4 100644 --- a/include/Channel.hpp +++ b/include/Channel.hpp @@ -34,6 +34,9 @@ namespace dchat void processEvent(const sf::Event &event); void draw(sf::RenderWindow &window, Cache &cache); + + static void setCurrent(Channel *channel); + static Channel* getCurrent(); protected: odhtdb::Database *database; odhtdb::DatabaseNode databaseNodeInfo; |