diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-04-08 21:04:12 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-04-08 21:04:17 +0200 |
commit | 725ea566a2b6a12e0a02e4f570b6e99102e2d21b (patch) | |
tree | d35a338392e15f50402c2055d520e7b1c3ea36a2 /include/Suggestions.hpp | |
parent | 4aac8df198e3a5bd9c6efc95cdf4c520c2e05401 (diff) |
Refactor, remove a lot of code and use dchat core instead
Diffstat (limited to 'include/Suggestions.hpp')
-rw-r--r-- | include/Suggestions.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Suggestions.hpp b/include/Suggestions.hpp index 56f3afa..b2d19f9 100644 --- a/include/Suggestions.hpp +++ b/include/Suggestions.hpp @@ -1,18 +1,19 @@ #pragma once #include "Text.hpp" -#include "Cache.hpp" #include <vector> #include <string> #include <SFML/Graphics/RenderWindow.hpp> namespace dchat { + class Cache; + class Suggestions { public: void show(const std::vector<std::string> &texts); - void draw(sf::RenderWindow &window, Cache &cache); + void draw(sf::RenderWindow &window, Cache *cache); private: std::vector<std::unique_ptr<Text>> texts; }; |